diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-01 19:20:21 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-01 19:20:21 +0000 |
commit | b4f8ebcb496ca231fa737307a0f9757d01e37c7b (patch) | |
tree | 57c99b2982b78148fa8b5412280d478a7d3be28e /src/tests/cache.cpp | |
parent | aeb8bee786a9495c78ed94e2a8485ed790714635 (diff) | |
download | libbu++-b4f8ebcb496ca231fa737307a0f9757d01e37c7b.tar.gz libbu++-b4f8ebcb496ca231fa737307a0f9757d01e37c7b.tar.bz2 libbu++-b4f8ebcb496ca231fa737307a0f9757d01e37c7b.tar.xz libbu++-b4f8ebcb496ca231fa737307a0f9757d01e37c7b.zip |
Cache fixes.
Diffstat (limited to '')
-rw-r--r-- | src/tests/cache.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tests/cache.cpp b/src/tests/cache.cpp index 97aba4a..3470ecb 100644 --- a/src/tests/cache.cpp +++ b/src/tests/cache.cpp | |||
@@ -41,6 +41,12 @@ public: | |||
41 | TRACE( i ); | 41 | TRACE( i ); |
42 | iInt = i; | 42 | iInt = i; |
43 | } | 43 | } |
44 | |||
45 | long getKey() const | ||
46 | { | ||
47 | TRACE( i ); | ||
48 | return iInt; | ||
49 | } | ||
44 | 50 | ||
45 | int getInt() | 51 | int getInt() |
46 | { | 52 | { |
@@ -177,6 +183,10 @@ public: | |||
177 | { | 183 | { |
178 | } | 184 | } |
179 | 185 | ||
186 | virtual void onDestroy( Bob *, const long & ) | ||
187 | { | ||
188 | } | ||
189 | |||
180 | virtual bool shouldSync( Bob *, const long &, time_t ) | 190 | virtual bool shouldSync( Bob *, const long &, time_t ) |
181 | { | 191 | { |
182 | return false; | 192 | return false; |