From babbd76cf79ff196c409000f7724c08798a46dd5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 1 Oct 2020 13:28:39 -0700 Subject: Fixed bug in CachePtr pointer dereference. I guess I never used it before, it wouldn't even compile, it wasn't dereferencing the returned pointer. It's not a great idea to use it, but sometimes you need it. --- src/unstable/cachebase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/unstable') diff --git a/src/unstable/cachebase.h b/src/unstable/cachebase.h index 66c915f..7a54465 100644 --- a/src/unstable/cachebase.h +++ b/src/unstable/cachebase.h @@ -224,13 +224,13 @@ namespace Bu obtype &operator*() { bind(); - return pData; + return *pData; } const obtype &operator*() const { bind(); - return pData; + return *pData; } obtype *operator->() -- cgit v1.2.3