diff options
author | markt <markt> | 2006-07-01 03:32:53 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-01 03:32:53 (GMT) |
commit | c18985732b09da5f09189e91a145cb33e656688d (patch) | |
tree | 7b403311860659c0e1022716663f6860dc4ee7cf /src/FbTk/RefCount.hh | |
parent | 698539d9b9012bb6c282725e775e358c1bd4a281 (diff) | |
download | fluxbox_pavel-c18985732b09da5f09189e91a145cb33e656688d.zip fluxbox_pavel-c18985732b09da5f09189e91a145cb33e656688d.tar.bz2 |
more dead functions
Diffstat (limited to 'src/FbTk/RefCount.hh')
-rw-r--r-- | src/FbTk/RefCount.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/RefCount.hh b/src/FbTk/RefCount.hh index 96d64d8..ba2a697 100644 --- a/src/FbTk/RefCount.hh +++ b/src/FbTk/RefCount.hh | |||
@@ -38,8 +38,10 @@ 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 | /// @return number of referenses | 42 | /// @return number of referenses |
42 | unsigned int usedBy() const { return (m_refcount != 0 ? *m_refcount : 0); } | 43 | unsigned int usedBy() const { return (m_refcount != 0 ? *m_refcount : 0); } |
44 | #endif | ||
43 | private: | 45 | private: |
44 | /// increase referense count | 46 | /// increase referense count |
45 | void incRefCount(); | 47 | void incRefCount(); |