| 53 | } |
| 54 | |
| 55 | void swap(HashMapLru &other) { |
| 56 | fl::swap(mMap, other.mMap); |
| 57 | fl::swap(mMaxSize, other.mMaxSize); |
| 58 | fl::swap(mCurrentTime, other.mCurrentTime); |
| 59 | } |
| 60 | |
| 61 | // Insert or update a key-value pair |
| 62 | void insert(const Key &key, const T &value) { |