diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/RefCount.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/RefCount.hh b/src/FbTk/RefCount.hh index 0fd889b..737ee1b 100644 --- a/src/FbTk/RefCount.hh +++ b/src/FbTk/RefCount.hh | |||
@@ -95,6 +95,7 @@ RefCount<Pointer> &RefCount<Pointer>::operator = (Pointer *p) { | |||
95 | m_data = p; // set data pointer | 95 | m_data = p; // set data pointer |
96 | m_refcount = new unsigned int(0); // create new counter | 96 | m_refcount = new unsigned int(0); // create new counter |
97 | incRefCount(); | 97 | incRefCount(); |
98 | return *this; | ||
98 | } | 99 | } |
99 | 100 | ||
100 | template <typename Pointer> | 101 | template <typename Pointer> |