arm_types: Don't use std::hash<u64>() 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<unsigned long long>'
This commit is contained in:
MerryMage 2016-09-02 12:45:09 +01:00
parent 320db36219
commit 519c714dbc

View file

@ -128,7 +128,7 @@ private:
struct LocationDescriptorHash {
size_t operator()(const LocationDescriptor& x) const {
return std::hash<u64>()(x.UniqueHash());
return static_cast<size_t>(x.UniqueHash());
}
};