summaryrefslogtreecommitdiff
path: root/src/cachemanager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachemanager.cc')
-rw-r--r--src/cachemanager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cachemanager.cc b/src/cachemanager.cc
index c193db8..f7fc730 100644
--- a/src/cachemanager.cc
+++ b/src/cachemanager.cc
@@ -62,6 +62,8 @@ void CacheManager::init(size_t poolsize)
localcachepos[i] = 0;
}
+ localcache.resize(poolsize);
+
running = true;
run();