summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-06-16 22:17:26 -0400
committerRusty Wagner <rusty@vector35.com>2020-06-16 22:17:26 -0400
commit1e8eed9acfae8bd5517e26eaffd41b7fdfa08bef (patch)
tree16bb6b11f3ef98600aef0cd47855235d88ee3b3c
parent8ef7fc54f93a041725dbd4d7bf2a8be159e3ee6f (diff)
Fix GCC9 warnings
-rw-r--r--mediumlevelilinstruction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediumlevelilinstruction.h b/mediumlevelilinstruction.h
index f3b3062a..a8c9b8ec 100644
--- a/mediumlevelilinstruction.h
+++ b/mediumlevelilinstruction.h
@@ -137,8 +137,7 @@ namespace std
#else
typedef BinaryNinja::SSAVariable argument_type;
#endif
- typedef std::hash<uint64_t>::result_type result_type;
- result_type operator()(argument_type const& value) const
+ size_t operator()(argument_type const& value) const
{
return std::hash<uint64_t>()(((uint64_t)value.var.ToIdentifier()) ^ ((uint64_t)value.version << 40));
}