refactor
This commit is contained in:
1 parent
ead3bcde1a
commit
0348492f6c
1 file changed
+1
@@ -93,6 +93,7 @@ auto cache_size_mgr::shrink(std::uint64_t size) -> api_error {
|
||||
if (cache_size_ >= size) {
|
||||
cache_size_ -= size;
|
||||
} else {
|
||||
// TODO raise warning
|
||||
cache_size_ = 0U;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user