diff options
| author | Mike Buland <mbuland@penny-arcade.com> | 2018-11-07 09:46:08 -0800 |
|---|---|---|
| committer | Mike Buland <mbuland@penny-arcade.com> | 2018-11-07 09:46:08 -0800 |
| commit | 40e561cc553c808af8c5b5392f1fd74eacdd94b2 (patch) | |
| tree | 91c77c90483de7285578c53c6bcfc4dc8ea418ee /src | |
| parent | ad0d9808b8f34e14016aa678f519c26007b29704 (diff) | |
| download | libbu++-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.h | 3 |
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 ), |
