diff options
-rw-r--r-- | include/hiddenpointer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hiddenpointer.h b/include/hiddenpointer.h index cf6bea0..558da53 100644 --- a/include/hiddenpointer.h +++ b/include/hiddenpointer.h @@ -104,7 +104,7 @@ public: * @param that * @return HiddenPointer */ - HiddenPointer<Type> operator=(const HiddenPointer &that) + HiddenPointer<Type> &operator=(const HiddenPointer &that) { // skip self assignmend if (this == &that) return *this; |