+ issue #0002468: freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ?

This commit is contained in:
wmayer 2016-03-09 22:13:05 +01:00
parent 37b7334df6
commit 3ca1ec2c28

View File

@ -58,7 +58,7 @@ void Handled::ref() const
void Handled::unref() const
{
assert(_lRefCount > 0);
assert(*_lRefCount > 0);
if (!_lRefCount->deref()) {
delete this;
}