This commit is contained in:
1 file changed
+8
@@ -52,4 +52,12 @@ namespace ArbUt {
|
||||
};
|
||||
}
|
||||
|
||||
namespace std {
|
||||
|
||||
template <class T> struct hash<ArbUt::BorrowedPtr<T>> {
|
||||
std::size_t operator()(const ArbUt::BorrowedPtr<T>& k) const { return (size_t)k.GetRaw(); }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // ARBUTILS_BORROWEDPTR_HPP
|
||||
Reference in new issue
Block a user