| Index: tests/HashCacheTest.cpp
|
| diff --git a/tests/HashCacheTest.cpp b/tests/HashCacheTest.cpp
|
| index bd28c44197e7523ed29130dcb62d9a0bfa4ce2e4..1a5c4701cd452a725b0b957aa2ac909e18392b87 100644
|
| --- a/tests/HashCacheTest.cpp
|
| +++ b/tests/HashCacheTest.cpp
|
| @@ -39,21 +39,18 @@ public:
|
|
|
| uint32_t getHash() const { return fKey; }
|
|
|
| - static bool LT(const HashElement& entry, const HashKey& key) {
|
| + static bool LessThan(const HashElement& entry, const HashKey& key) {
|
| return entry.fKey < key.fKey;
|
| }
|
| - static bool EQ(const HashElement& entry, const HashKey& key) {
|
| + static bool Equals(const HashElement& entry, const HashKey& key) {
|
| return entry.fKey == key.fKey;
|
| }
|
|
|
| #ifdef SK_DEBUG
|
| - static uint32_t GetHash(const HashElement& entry) {
|
| - return entry.fKey;
|
| - }
|
| - static bool LT(const HashElement& a, const HashElement& b) {
|
| + static bool LessThan(const HashElement& a, const HashElement& b) {
|
| return a.fKey < b.fKey;
|
| }
|
| - static bool EQ(const HashElement& a, const HashElement& b) {
|
| + static bool Equals(const HashElement& a, const HashElement& b) {
|
| return a.fKey == b.fKey;
|
| }
|
| #endif
|
|
|