diff --git a/alib2std/src/extensions/memory.hpp b/alib2std/src/extensions/memory.hpp index 2c28df6133dfa40edfcb38fc9a8f626038fe9e97..51492391b3adba5e8637a1c9a5106b43f05a008a 100644 --- a/alib2std/src/extensions/memory.hpp +++ b/alib2std/src/extensions/memory.hpp @@ -109,7 +109,7 @@ public: } explicit operator bool( ) const { - return getUseCount ( ) == 0; + return getUseCount ( ) != 0; } private: @@ -232,7 +232,7 @@ public: } explicit operator bool( ) const { - return getUseCount ( ) == 0; + return getUseCount ( ) != 0; } private: