From 519c714dbc4862d923460738c2a785fe876a9cb8 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 2 Sep 2016 12:45:09 +0100 Subject: [PATCH] arm_types: Don't use std::hash() for LocationDescriptorHash Apple Clang (clang-600.0.54 on x86_64-apple-darwin13.4.0) complains with: implicit instantiation of undefined template 'std::__1::hash' --- src/frontend/arm_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/arm_types.h b/src/frontend/arm_types.h index e37c542b..dc68482b 100644 --- a/src/frontend/arm_types.h +++ b/src/frontend/arm_types.h @@ -128,7 +128,7 @@ private: struct LocationDescriptorHash { size_t operator()(const LocationDescriptor& x) const { - return std::hash()(x.UniqueHash()); + return static_cast(x.UniqueHash()); } };