diff options
author | Mike Buland <mbuland@penny-arcade.com> | 2024-11-07 15:36:50 -0800 |
---|---|---|
committer | Mike Buland <mbuland@penny-arcade.com> | 2024-11-07 15:36:50 -0800 |
commit | 62d2e4e003a26550ebbe039c5d1e450841d8059f (patch) | |
tree | db3cbecc36f6d95c46a46ae3afe68e6da47c535f | |
parent | 589e691ba8503dd247aaeab76c1113f87c2ff980 (diff) | |
download | libbu++-main.tar.gz libbu++-main.tar.bz2 libbu++-main.tar.xz libbu++-main.zip |
Some cleanup work may still be outstanding.
-rw-r--r-- | src/unstable/cachebase.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unstable/cachebase.h b/src/unstable/cachebase.h index 9ac1b8c..830f5fe 100644 --- a/src/unstable/cachebase.h +++ b/src/unstable/cachebase.h | |||
@@ -32,15 +32,15 @@ namespace Bu | |||
32 | bDeleted( false ), | 32 | bDeleted( false ), |
33 | pObject( pObject ) | 33 | pObject( pObject ) |
34 | { | 34 | { |
35 | Bu::println("CacheEntry::CacheEntry: registering pObject (0x%1)"). | 35 | //Bu::println("CacheEntry::CacheEntry: registering pObject (0x%1)"). |
36 | arg( reinterpret_cast<ptrdiff_t>(pObject), Bu::Fmt::hex() ); | 36 | // arg( reinterpret_cast<ptrdiff_t>(pObject), Bu::Fmt::hex() ); |
37 | } | 37 | } |
38 | 38 | ||
39 | virtual ~CacheEntry() | 39 | virtual ~CacheEntry() |
40 | { | 40 | { |
41 | mEntry.lock(); | 41 | mEntry.lock(); |
42 | Bu::println("CacheEntry::~CacheEntry: deleting pObject (0x%1)"). | 42 | //Bu::println("CacheEntry::~CacheEntry: deleting pObject (0x%1)"). |
43 | arg( reinterpret_cast<ptrdiff_t>(pObject), Bu::Fmt::hex() ); | 43 | // arg( reinterpret_cast<ptrdiff_t>(pObject), Bu::Fmt::hex() ); |
44 | delete pObject; | 44 | delete pObject; |
45 | mEntry.unlock(); | 45 | mEntry.unlock(); |
46 | } | 46 | } |