Skip to content

Commit eaddf0a

Browse files
committed
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.
1 parent c0dbc49 commit eaddf0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/FileBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ FileBase::~FileBase()
5757
}
5858

5959
if (_default == this) {
60-
_default == NULL;
60+
_default = NULL;
6161
}
6262

6363
_mutex->unlock();

0 commit comments

Comments
 (0)