We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760b8ed commit c251e34Copy full SHA for c251e34
include/thero/polymorphicwrapper.hpp
@@ -49,7 +49,7 @@ class PolymorphicWrapper
49
50
PolymorphicWrapper& operator=(PolymorphicWrapper& other)
51
{
52
- return static_cast<const PolymorphicWrapper&>(other);
+ return *this = static_cast<const PolymorphicWrapper&>(other);
53
}
54
55
PolymorphicWrapper& operator=(PolymorphicWrapper&& other)
0 commit comments