Skip to content

Commit edb9271

Browse files
0hmXgeeksilva97
andauthored
Update src/lru_cache-inl.h
Co-authored-by: Edy Silva <[email protected]>
1 parent a1cbe97 commit edb9271

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/lru_cache-inl.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ class LRUCache {
4545
}
4646
}
4747

48-
bool exists(const key_t& key) const { return lookup_map_.count(key) > 0; }
48+
bool Exists(const key_t& key) const { return lookup_map_.count(key) > 0; }
4949

50-
size_t size() const { return lookup_map_.size(); }
50+
size_t Size() const { return lookup_map_.size(); }
5151

52-
size_t capacity() const { return capacity_; }
52+
size_t Capacity() const { return capacity_; }
5353

54-
void clear() {
54+
void Clear() {
5555
lru_list_.clear();
5656
lookup_map_.clear();
5757
}

0 commit comments

Comments
 (0)