mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
LRUCache: Mark size() as const
This commit is contained in:
parent
c274e005b6
commit
ce663d75e3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue