| Index: tests/DynamicHashTest.cpp
|
| diff --git a/tests/DynamicHashTest.cpp b/tests/DynamicHashTest.cpp
|
| index b2d0f0382c57ae5b353761d72ebd9139cd5973a6..bb9367b46df5c4d0a23000341c61a68c529afe81 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
|
|
|