aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/RefCount.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/RefCount.hh')
-rw-r--r--src/FbTk/RefCount.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/FbTk/RefCount.hh b/src/FbTk/RefCount.hh
index adeebf0..6d1b9b7 100644
--- a/src/FbTk/RefCount.hh
+++ b/src/FbTk/RefCount.hh
@@ -38,10 +38,7 @@ public:
38 Pointer *operator * () const { return get(); } 38 Pointer *operator * () const { return get(); }
39 Pointer *operator -> () const { return get(); } 39 Pointer *operator -> () const { return get(); }
40 Pointer *get() const { return m_data; } 40 Pointer *get() const { return m_data; }
41#ifdef NOT_USED 41
42 /// @return number of references
43 unsigned int usedBy() const { return (m_refcount != 0 ? *m_refcount : 0); }
44#endif
45private: 42private:
46 /// increase reference count 43 /// increase reference count
47 void incRefCount(); 44 void incRefCount();