From f5ad8d9b298fb6e5f0b2f81678490fbee4376ec5 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(+) (limited to 'src') 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