aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2013-02-25 07:02:48 +0000
committerMike Buland <eichlan@xagasoft.com>2013-02-25 07:02:48 +0000
commitf342b82c4bf125c7cb478160bf011e571c317726 (patch)
treec59aa1189e18b8e45d4478e0428d872e40704f38
parent4a02bc8b79acc2978ed53e2432a656dc20eb7998 (diff)
downloadlibbu++-f342b82c4bf125c7cb478160bf011e571c317726.tar.gz
libbu++-f342b82c4bf125c7cb478160bf011e571c317726.tar.bz2
libbu++-f342b82c4bf125c7cb478160bf011e571c317726.tar.xz
libbu++-f342b82c4bf125c7cb478160bf011e571c317726.zip
Really minor addition to the new cache system. I think I will split it into
two classes, one for the store, one for the cache itself. The index will have to go with the store, which I find a little odd, but it'll...probably work out.
Diffstat (limited to '')
-rw-r--r--src/tests/cache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp
index 911b829..00a32dd 100644
--- a/src/tests/cache.cpp
+++ b/src/tests/cache.cpp
@@ -30,6 +30,7 @@ public:
30 typedef CacheBase<keytype, obtype> CacheType; 30 typedef CacheBase<keytype, obtype> CacheType;
31 31
32 virtual const keytype getKey() const=0; 32 virtual const keytype getKey() const=0;
33 virtual const int getPersistenceScore() const { return 0; }
33 34
34 void changed( bool bChanged=true ) 35 void changed( bool bChanged=true )
35 { 36 {