From 3ca1ec2c28d26cd6aab5c79878d9a5e82583395c Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 9 Mar 2016 22:13:05 +0100 Subject: [PATCH] + issue #0002468: freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ? --- src/Base/Handle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Base/Handle.cpp b/src/Base/Handle.cpp index dec024080..1827da707 100644 --- a/src/Base/Handle.cpp +++ b/src/Base/Handle.cpp @@ -58,7 +58,7 @@ void Handled::ref() const void Handled::unref() const { - assert(_lRefCount > 0); + assert(*_lRefCount > 0); if (!_lRefCount->deref()) { delete this; }