diff options
Diffstat (limited to 'Source/Core/UICommon/ResourcePack/ResourcePack.cpp')
| -rw-r--r-- | Source/Core/UICommon/ResourcePack/ResourcePack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/ResourcePack/ResourcePack.cpp b/Source/Core/UICommon/ResourcePack/ResourcePack.cpp index 73f271c6bc..f755dae6f5 100644 --- a/Source/Core/UICommon/ResourcePack/ResourcePack.cpp +++ b/Source/Core/UICommon/ResourcePack/ResourcePack.cpp @@ -305,7 +305,7 @@ bool ResourcePack::Uninstall(const std::string& path) while (dir.length() > (path + TEXTURE_PATH).length()) { - auto is_empty = Common::DoFileSearch({dir}).empty(); + const auto is_empty = Common::DoFileSearch(dir).empty(); if (is_empty) File::DeleteDir(dir); |
