mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-11 17:39:59 +01:00
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
@ -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…
x
Reference in New Issue
Block a user