mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
c0dbc49aa0
commit
eaddf0a160
|
|
@ -57,7 +57,7 @@ FileBase::~FileBase()
|
|||
}
|
||||
|
||||
if (_default == this) {
|
||||
_default == NULL;
|
||||
_default = NULL;
|
||||
}
|
||||
|
||||
_mutex->unlock();
|
||||
|
|
|
|||
Loading…
Reference in New Issue