common/shared_cache.hpp: fix set_size()

Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Samuel Just 2013-05-20 13:38:19 -07:00
parent 17a6e7faa7
commit ca28d87ef2

View File

@ -101,7 +101,7 @@ public:
{
Mutex::Locker l(lock);
max_size = new_size;
trim_cache(to_release);
trim_cache(&to_release);
}
}