Salome HOME
Win32 compilation.
[modules/yacs.git] / src / engine / SharedPtr.hxx
index d1150711b97a93de8bab942d4b5c72709d8a19b3..a1dcf2cae32c915689bd870c584b8110e098d447 100644 (file)
@@ -53,6 +53,7 @@ SharedPtr<T> &SharedPtr<T>::operator=(const SharedPtr<T>& other)
   _ptr->decrRef();
   _ptr=other._ptr;
   _ptr->incrRef();
+  return *this;
 }
 
 template<class T>