From cc8c35cee5de7fdf2d79a1a3716120b64301cdfe Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Thu, 12 Nov 2009 18:45:53 -0800 Subject: eclair snapshot --- include/utils/RefBase.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/utils/RefBase.h') diff --git a/include/utils/RefBase.h b/include/utils/RefBase.h index cbda0fd80d..bd7f28cae3 100644 --- a/include/utils/RefBase.h +++ b/include/utils/RefBase.h @@ -156,6 +156,10 @@ public: delete static_cast(this); } } + //! DEBUGGING ONLY: Get current strong ref count. + inline int32_t getStrongCount() const { + return mCount; + } protected: inline ~LightRefBase() { } -- cgit v1.2.3-59-g8ed1b