diff --git a/repertory/librepertory/src/file_manager/open_file.cpp b/repertory/librepertory/src/file_manager/open_file.cpp index fc4a75f7..793e409d 100644 --- a/repertory/librepertory/src/file_manager/open_file.cpp +++ b/repertory/librepertory/src/file_manager/open_file.cpp @@ -389,7 +389,7 @@ auto open_file::native_operation( } if (new_file_size > fsi_.size) { - res = cache_size_mgr::instance().expand(new_file_size - fsi_.size, true); + res = cache_size_mgr::instance().expand(new_file_size - fsi_.size); if (res != api_error::success) { return res; }