aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/RefCount.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
commit38654bae459716409ad2ee7975671fc2f131c869 (patch)
tree6f2f3c662f8317f47a422db02d17bff378266817 /src/FbTk/RefCount.hh
parent06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff)
downloadfluxbox-38654bae459716409ad2ee7975671fc2f131c869.zip
fluxbox-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2
some cleanup
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();