diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-12 11:58:20 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-12 11:58:20 +0100 |
commit | faa842b927ede6df1763607e3732151162875d73 (patch) | |
tree | 8400dc927ab7dc752e67b6bc605a83537786d3cd /src/cache.hpp | |
parent | 36b942a6982578af33ca26a5306ebd7012f2329b (diff) |
Made RemoveBySubset from the cache work with references to keys
Diffstat (limited to 'src/cache.hpp')
-rw-r--r-- | src/cache.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.hpp b/src/cache.hpp index f3685b03..f7ca3dc8 100644 --- a/src/cache.hpp +++ b/src/cache.hpp @@ -44,7 +44,7 @@ public: // Removes all entries with a given key void Remove(const Key &key); - template <int I1, int I2> void RemoveBySubset(const Key key); // currently only supports 2 indices + template <int I1, int I2> void RemoveBySubset(const Key &key); // currently supports 2 indices static Cache<Key, Value> &Instance(); |