return utf8 back to state of 22 ocober

This commit is contained in:
Robert Ramey
2016-01-18 11:41:22 -08:00
parent 2006c1633b
commit d330deb82c
3 changed files with 9 additions and 8 deletions

View File

@@ -26,5 +26,4 @@
typedef std::codecvt_utf8<wchar_t> utf8_codecvt_facet;
} } }
#endif // BOOST_NO_CXX11_HDR_CODECVT
#endif // BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP

View File

@@ -100,7 +100,7 @@ xml_iarchive_impl<Archive>::load(wchar_t * ws){
)
);
std::mbstate_t mbs;
std::mbstate_t mbs = std::mbstate_t();
const char * start = s.data();
const char * end = start + s.size();
while(start < end){