diff options
Diffstat (limited to 'src/common/util/CountedPtr.h')
-rw-r--r-- | src/common/util/CountedPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util/CountedPtr.h b/src/common/util/CountedPtr.h index 6b9847eb..d6cc46bb 100644 --- a/src/common/util/CountedPtr.h +++ b/src/common/util/CountedPtr.h @@ -107,7 +107,7 @@ public: CountedPtr& operator=(const CountedPtr& copy) { if (this != ©) { - assert(_counter != copy._counter); + assert(_counter == NULL || _counter != copy._counter); release(); retain(copy._counter); } |