Avoid using non-Standard std::locale::empty() for MSVC

This commit is contained in:
Stephan T. Lavavej
2025-11-13 05:13:23 -08:00
committed by Chris Hennes
parent f6eccdc702
commit be37feffc3
2 changed files with 0 additions and 12 deletions

View File

@@ -65,11 +65,7 @@ using namespace std;
Base::XMLReader::XMLReader(const char* FileName, std::istream& str)
: _File(FileName)
{
#ifdef _MSC_VER
str.imbue(std::locale::empty());
#else
str.imbue(std::locale::classic());
#endif
// create the parser
parser = XMLReaderFactory::createXMLReader(); // NOLINT