aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-04-07 15:10:28 +0000
committerMike Buland <eichlan@xagasoft.com>2010-04-07 15:10:28 +0000
commit6cdf5615a2729df486def3fae2e6f548a34fb83b (patch)
treedd8caca0e9c225316b4a2ea95cafccbce9648966 /src/cache.h
parentdb45c881d98f2288aa26960e5eae6070f792b82a (diff)
downloadlibbu++-6cdf5615a2729df486def3fae2e6f548a34fb83b.tar.gz
libbu++-6cdf5615a2729df486def3fae2e6f548a34fb83b.tar.bz2
libbu++-6cdf5615a2729df486def3fae2e6f548a34fb83b.tar.xz
libbu++-6cdf5615a2729df486def3fae2e6f548a34fb83b.zip
Cache updates, mainly helper typedefs to make it easier to work with a cache
without knowing everything about it's keytype and whatnot. Minor fixes to the csv end-of-line handling.
Diffstat (limited to '')
-rw-r--r--src/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h
index 7b82541..987443c 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -193,6 +193,7 @@ namespace Bu
193 typedef Bu::Hash<keytype, CacheEntry> CidHash; 193 typedef Bu::Hash<keytype, CacheEntry> CidHash;
194 194
195 public: 195 public:
196 typedef keytype Key;
196 Cache( Calc *pCalc, Store *pStore ) : 197 Cache( Calc *pCalc, Store *pStore ) :
197 pCalc( pCalc ), 198 pCalc( pCalc ),
198 pStore( pStore ) 199 pStore( pStore )