FileBase: Fix unsetting of default when destroyed

Code that should unset a FileBase from being the default when it is
destroyed was broken by a `==` instead of `=` typo.
pull/8052/head
Kevin Bracey 2018-09-10 11:19:17 +03:00
parent c0dbc49aa0
commit eaddf0a160
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ FileBase::~FileBase()
}
if (_default == this) {
_default == NULL;
_default = NULL;
}
_mutex->unlock();