diff --git a/libs/filesystem/v2/src/v2_path.cpp b/libs/filesystem/v2/src/v2_path.cpp index 7adeaff..027b299 100644 --- a/libs/filesystem/v2/src/v2_path.cpp +++ b/libs/filesystem/v2/src/v2_path.cpp @@ -45,7 +45,7 @@ namespace { #if !defined(macintosh) && !defined(__APPLE__) && !defined(__APPLE_CC__) // ISO C calls this "the locale-specific native environment": - static std::locale lc(""); + static std::locale lc; #else // Mac OS // "All BSD system functions expect their string parameters to be in UTF-8 encoding // and nothing else." diff --git a/libs/filesystem/v3/src/path.cpp b/libs/filesystem/v3/src/path.cpp index 7dc0b53..213ca36 100644 --- a/libs/filesystem/v3/src/path.cpp +++ b/libs/filesystem/v3/src/path.cpp @@ -760,7 +760,7 @@ namespace # else // ISO C calls this "the locale-specific native environment": - return std::locale(""); + return std::locale(); # endif }