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:
parent
2f454e73f6
commit
254676049a
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user