add CalbackImplBase::GetReferenceCount
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 08 Jul 2008 10:10:26 -0700
changeset 3391 88e4aa2f101c
parent 3390 5caa582619ec
child 3392 775777e52833
add CalbackImplBase::GetReferenceCount
src/core/callback.h
--- a/src/core/callback.h	Tue Jul 08 10:02:57 2008 -0700
+++ b/src/core/callback.h	Tue Jul 08 10:10:26 2008 -0700
@@ -85,6 +85,7 @@
       delete this;
     }
   }
+  uint32_t GetReferenceCount (void) const { return m_count; }
   virtual bool IsEqual (Ptr<const CallbackImplBase> other) const = 0;
 private:
   mutable uint32_t m_count;