Mercurial > hg > orthanc-wsi
changeset 359:6b3de7a6052d
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 20 Dec 2024 16:37:11 +0100 |
parents | 9e4dcbb578e3 |
children | 27352f62bd2e |
files | Framework/Inputs/DecodedPyramidCache.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Inputs/DecodedPyramidCache.cpp Fri Dec 20 15:28:19 2024 +0100 +++ b/Framework/Inputs/DecodedPyramidCache.cpp Fri Dec 20 16:37:11 2024 +0100 @@ -64,8 +64,7 @@ bool DecodedPyramidCache::SanityCheck() { - return (cache_.GetSize() < maxCount_ && - (cache_.IsEmpty() || maxMemory_ == 0 || memoryUsage_ <= maxMemory_)); + return (cache_.GetSize() < maxCount_); }