diff options
Diffstat (limited to 'tests/DynamicHashTest.cpp')
-rw-r--r-- | tests/DynamicHashTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/DynamicHashTest.cpp b/tests/DynamicHashTest.cpp index b2d0f0382c..bb9367b46d 100644 --- a/tests/DynamicHashTest.cpp +++ b/tests/DynamicHashTest.cpp @@ -17,9 +17,8 @@ struct Entry { const int& GetKey(const Entry& entry) { return entry.key; } uint32_t GetHash(const int& key) { return key; } -bool AreEqual(const Entry& entry, const int& key) { return entry.key == key; } -class Hash : public SkTDynamicHash<Entry, int, GetKey, GetHash, AreEqual> { +class Hash : public SkTDynamicHash<Entry, int, GetKey, GetHash> { public: Hash() : INHERITED() {} @@ -28,7 +27,7 @@ public: int countCollisions(const int& key) const { return this->INHERITED::countCollisions(key); } private: - typedef SkTDynamicHash<Entry, int, GetKey, GetHash, AreEqual> INHERITED; + typedef SkTDynamicHash<Entry, int, GetKey, GetHash> INHERITED; }; } // namespace |