From d222e6a4ba4e79225e741fe30ca7b785f3426fbf Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 17 Mar 2012 03:59:30 +0000 Subject: [PATCH] - fixed windows build --- source/shared_lib/sources/xml/xml_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/xml/xml_parser.cpp b/source/shared_lib/sources/xml/xml_parser.cpp index d0572aea..22b5763e 100644 --- a/source/shared_lib/sources/xml/xml_parser.cpp +++ b/source/shared_lib/sources/xml/xml_parser.cpp @@ -273,7 +273,7 @@ XmlNode *XmlIoRapid::load(const string &path, std::map mapTagRepl try { #if defined(WIN32) && !defined(__MINGW32__) FILE *fp = _wfopen(utf8_decode(path).c_str(), L"rb"); - ifstream xmlFile(fp,ios::binary); + ifstream xmlFile(fp); #else ifstream xmlFile(path.c_str(),ios::binary); #endif