[commit] r2723 - trunk/GME/XmlBackEnd
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Dec 6 13:41:37 CST 2017
Author: ksmyth
Date: Wed Dec 6 13:41:37 2017
New Revision: 2723
Log:
Omit useless transcoding
Modified:
trunk/GME/XmlBackEnd/CoreXmlFile.cpp
Modified: trunk/GME/XmlBackEnd/CoreXmlFile.cpp
==============================================================================
--- trunk/GME/XmlBackEnd/CoreXmlFile.cpp Wed Dec 6 13:41:33 2017 (r2722)
+++ trunk/GME/XmlBackEnd/CoreXmlFile.cpp Wed Dec 6 13:41:37 2017 (r2723)
@@ -3620,10 +3620,10 @@
for (auto i = dictValue->m_dict.begin(); i != dictValue->m_dict.end(); i++)
{
ofs << Transcoder::NoEscape << "<Key>";
- ofs << Transcoder::StdEscape << static_cast<const char*>(_bstr_t(i->first));
+ ofs << Transcoder::StdEscape << static_cast<const wchar_t*>(_bstr_t(i->first));
ofs << Transcoder::NoEscape << "</Key>";
ofs << Transcoder::NoEscape << "<Value>";
- ofs << Transcoder::StdEscape << static_cast<const char*>(_bstr_t(i->second));
+ ofs << Transcoder::StdEscape << static_cast<const wchar_t*>(_bstr_t(i->second));
ofs << Transcoder::NoEscape << "</Value>";
}
ofs << Transcoder::NoEscape << "</Dict>";
More information about the gme-commit
mailing list