diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-06-16 22:17:26 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-06-16 22:17:26 -0400 |
| commit | 1e8eed9acfae8bd5517e26eaffd41b7fdfa08bef (patch) | |
| tree | 16bb6b11f3ef98600aef0cd47855235d88ee3b3c | |
| parent | 8ef7fc54f93a041725dbd4d7bf2a8be159e3ee6f (diff) | |
Fix GCC9 warnings
| -rw-r--r-- | mediumlevelilinstruction.h | 3 |
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)); } |
