Fix build for GCC 4.5

This was SVN commit r8920.
This commit is contained in:
Ykkrosh 2011-02-13 18:38:22 +00:00
parent 11837204b6
commit fca69efd76

View File

@ -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&)
{