forked from 0ad/0ad
Fix build for GCC 4.5
This was SVN commit r8920.
This commit is contained in:
parent
11837204b6
commit
fca69efd76
@ -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&)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user