diff options
author | fluxgen <fluxgen> | 2003-05-07 11:35:59 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-07 11:35:59 (GMT) |
commit | 956848a58534d55c712e5c5810baf16102f23135 (patch) | |
tree | 199946928306f0e4885b8143b224ab9d109ddca4 /src | |
parent | 90dc9ca68083a4a786fa336e7462a274cc06c60e (diff) | |
download | fluxbox-956848a58534d55c712e5c5810baf16102f23135.zip fluxbox-956848a58534d55c712e5c5810baf16102f23135.tar.bz2 |
forgot return
Diffstat (limited to 'src')
-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> |