forgot return
This commit is contained in:
parent
90dc9ca680
commit
956848a585
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ RefCount<Pointer> &RefCount<Pointer>::operator = (Pointer *p) {
|
|||
m_data = p; // set data pointer
|
||||
m_refcount = new unsigned int(0); // create new counter
|
||||
incRefCount();
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <typename Pointer>
|
||||
|
|
Loading…
Reference in a new issue