mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00:00
LRUCache: Mark size() as const
This commit is contained in:
parent
c274e005b6
commit
ce663d75e3
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user