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:
parent
320db36219
commit
519c714dbc
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ private:
|
||||||
|
|
||||||
struct LocationDescriptorHash {
|
struct LocationDescriptorHash {
|
||||||
size_t operator()(const LocationDescriptor& x) const {
|
size_t operator()(const LocationDescriptor& x) const {
|
||||||
return std::hash<u64>()(x.UniqueHash());
|
return static_cast<size_t>(x.UniqueHash());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue