1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

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;
}
size_t size()
size_t size() const
{
return data.size();
}