1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[dxvk] Added convenience equal checker for unordered maps

This commit is contained in:
Philip Rebohle 2018-05-24 20:18:37 +02:00
parent 2f454e73f6
commit 254676049a
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -4,6 +4,13 @@
namespace dxvk {
struct DxvkEq {
template<typename T>
size_t operator () (const T& a, const T& b) const {
return a.eq(b);
}
};
struct DxvkHash {
template<typename T>
size_t operator () (const T& object) const {