-rw-r--r-- | libopie2/opiepim/core/opimcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimcache.h b/libopie2/opiepim/core/opimcache.h index 067f6e7..839550c 100644 --- a/libopie2/opiepim/core/opimcache.h +++ b/libopie2/opiepim/core/opimcache.h @@ -63,3 +63,5 @@ void OPimCacheItem<T>::setRecord( const T& t ) { template <class T> -OPimCache<T>::OPimCache() { +OPimCache<T>::OPimCache() + : m_cache(100, 53 ) +{ m_cache.setAutoDelete( TRUE ); |