From 9c03659b323eb27ca447f7448512aa0e6c03e025 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Sat, 11 Apr 2015 16:55:16 +0200 Subject: Initializing localcache. --- src/cachemanager.cc | 2 ++ 1 file changed, 2 insertions(+) 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(); -- cgit v1.2.3