Main: fix Clang builds.

For some reason, only GCC has setlocale() wrapped in the std namespace.
This commit is contained in:
Guillaume Jacquemin 2022-11-26 11:30:48 +01:00
parent 07fca7b0d0
commit 90ff680aff
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ int main(int argc, char** argv) {
LOG_INFO("Initialising M.A.S.S. Builder Save Tool version " SAVETOOL_VERSION ".");
auto str = std::setlocale(LC_ALL, ".utf-8");
auto str = setlocale(LC_ALL, ".utf-8");
if(str) {
Containers::StringView locale{str};
LOG_INFO_FORMAT("Current locale: {}", locale);