From eaddf0a160afe609e8c64ff20fc4d6696ac604e6 Mon Sep 17 00:00:00 2001 From: Kevin Bracey Date: Mon, 10 Sep 2018 11:19:17 +0300 Subject: [PATCH] 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. --- platform/FileBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/FileBase.cpp b/platform/FileBase.cpp index ce0229bace..1c8c35a3fb 100644 --- a/platform/FileBase.cpp +++ b/platform/FileBase.cpp @@ -57,7 +57,7 @@ FileBase::~FileBase() } if (_default == this) { - _default == NULL; + _default = NULL; } _mutex->unlock();