diff --git a/repertory/librepertory/src/file_manager/cache_size_mgr.cpp b/repertory/librepertory/src/file_manager/cache_size_mgr.cpp index 21deddbd..5ffa6d58 100644 --- a/repertory/librepertory/src/file_manager/cache_size_mgr.cpp +++ b/repertory/librepertory/src/file_manager/cache_size_mgr.cpp @@ -22,7 +22,6 @@ #include "file_manager/cache_size_mgr.hpp" #include "app_config.hpp" -#include "events/event.hpp" #include "events/event_system.hpp" #include "types/startup_exception.hpp" #include "utils/file_utils.hpp" @@ -55,7 +54,7 @@ auto cache_size_mgr::expand(std::uint64_t size) -> api_error { cache_dir.count() > 1U) { if (last_cache_size != cache_size_) { event_system::instance().raise(cache_size_, - max_cache_size); + max_cache_size); last_cache_size = cache_size_; } notify_.wait_for(lock, cache_wait_secs);