+ issue #0002468: freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ?
This commit is contained in:
parent
37b7334df6
commit
3ca1ec2c28
|
@ -58,7 +58,7 @@ void Handled::ref() const
|
||||||
|
|
||||||
void Handled::unref() const
|
void Handled::unref() const
|
||||||
{
|
{
|
||||||
assert(_lRefCount > 0);
|
assert(*_lRefCount > 0);
|
||||||
if (!_lRefCount->deref()) {
|
if (!_lRefCount->deref()) {
|
||||||
delete this;
|
delete this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user