aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/RefCount.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/RefCount.hh b/src/FbTk/RefCount.hh
index fe267e3..8adcc83 100644
--- a/src/FbTk/RefCount.hh
+++ b/src/FbTk/RefCount.hh
@@ -41,6 +41,7 @@ public:
41 Pointer &operator * () const { return *get(); } 41 Pointer &operator * () const { return *get(); }
42 Pointer *operator -> () const { return get(); } 42 Pointer *operator -> () const { return get(); }
43 Pointer *get() const { return m_data; } 43 Pointer *get() const { return m_data; }
44 void reset(Pointer *p) { *this = p; }
44 /// conversion to "bool" 45 /// conversion to "bool"
45 operator bool_type() const { return m_data ? &RefCount::m_data : 0; } 46 operator bool_type() const { return m_data ? &RefCount::m_data : 0; }
46 47