From 1e8eed9acfae8bd5517e26eaffd41b7fdfa08bef Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 16 Jun 2020 22:17:26 -0400 Subject: Fix GCC9 warnings --- mediumlevelilinstruction.h | 3 +-- 1 file changed, 1 insertion(+), 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::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)value.var.ToIdentifier()) ^ ((uint64_t)value.version << 40)); } -- cgit v1.3.1