Compare commits

...
2 Commits
Author SHA1 Message Date
André Simon 90232de96e Merge branch 'std_namespace' into 'master'
Add missing std namespace

See merge request saalen/astyle!2
2023-05-24 12:31:51 +00:00
Antoine Belvire c03fe1133f Add missing std namespace
Fixes build on Linux.
2023-05-24 10:38:10 +00:00
+1 -1
View File
@@ -1504,7 +1504,7 @@ std::string ASConsole::getNumberFormat(int num, size_t /*lcid*/) const
// The C locale should be set but not the C++.
// This function is not necessary if the C++ locale is set.
// The locale().name() return value is not portable to all compilers.
assert(locale().name() == "C");
assert(std::locale().name() == "C");
#endif
// get the locale info