mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 16:31:39 +00:00
Fix build for GCC 4.5
This was SVN commit r8920.
This commit is contained in:
@@ -736,7 +736,7 @@ void SetDefaultIfLocaleInvalid()
|
||||
// this constructor is similar to setlocale(LC_ALL, ""),
|
||||
// but instead of returning NULL, it throws runtime_error
|
||||
// when the first locale env variable found contains an invalid value
|
||||
std::locale::locale("");
|
||||
std::locale("");
|
||||
}
|
||||
catch (std::runtime_error&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user