aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2018-11-07 09:46:08 -0800
committerMike Buland <mbuland@penny-arcade.com>2018-11-07 09:46:08 -0800
commit40e561cc553c808af8c5b5392f1fd74eacdd94b2 (patch)
tree91c77c90483de7285578c53c6bcfc4dc8ea418ee
parentad0d9808b8f34e14016aa678f519c26007b29704 (diff)
downloadlibbu++-40e561cc553c808af8c5b5392f1fd74eacdd94b2.tar.gz
libbu++-40e561cc553c808af8c5b5392f1fd74eacdd94b2.tar.bz2
libbu++-40e561cc553c808af8c5b5392f1fd74eacdd94b2.tar.xz
libbu++-40e561cc553c808af8c5b5392f1fd74eacdd94b2.zip
Added convinience Key/Value typedefs to ptrs.
Diffstat (limited to '')
-rw-r--r--src/unstable/cachebase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unstable/cachebase.h b/src/unstable/cachebase.h
index 4f83fea..28b343b 100644
--- a/src/unstable/cachebase.h
+++ b/src/unstable/cachebase.h
@@ -191,6 +191,9 @@ namespace Bu
191 } 191 }
192 192
193 public: 193 public:
194 typedef keytype Key;
195 typedef obtype Value;
196
194 CachePtr() : 197 CachePtr() :
195 pCache( NULL ), 198 pCache( NULL ),
196 pEnt( NULL ), 199 pEnt( NULL ),