LRUCache: Mark size() as const

This commit is contained in:
Eelco Dolstra 2024-01-04 15:05:20 +01:00
parent c274e005b6
commit ce663d75e3

View File

@ -89,7 +89,7 @@ public:
return i->second.second; return i->second.second;
} }
size_t size() size_t size() const
{ {
return data.size(); return data.size();
} }