Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86617 - trunk/boost/archive/impl
From: ramey_at_[hidden]
Date: 2013-11-11 10:40:13


Author: ramey
Date: 2013-11-11 10:40:12 EST (Mon, 11 Nov 2013)
New Revision: 86617
URL: http://svn.boost.org/trac/boost/changeset/86617

Log:
correct usage of codecvt_utf8

Text files modified:
   trunk/boost/archive/impl/xml_wiarchive_impl.ipp | 2 +-
   trunk/boost/archive/impl/xml_woarchive_impl.ipp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/archive/impl/xml_wiarchive_impl.ipp
==============================================================================
--- trunk/boost/archive/impl/xml_wiarchive_impl.ipp Mon Nov 11 05:43:15 2013 (r86616)
+++ trunk/boost/archive/impl/xml_wiarchive_impl.ipp 2013-11-11 10:40:12 EST (Mon, 11 Nov 2013) (r86617)
@@ -37,7 +37,7 @@
 #ifndef BOOST_NO_CXX11_HDR_CODECVT
     #include <codecvt>
     namespace boost { namespace archive { namespace detail {
- typedef std::codecvt_utf8 utf8_codecvt_facet;
+ typedef std::codecvt_utf8<wchar_t> utf8_codecvt_facet;
     } } }
 #else
     #include <boost/archive/detail/utf8_codecvt_facet.hpp>

Modified: trunk/boost/archive/impl/xml_woarchive_impl.ipp
==============================================================================
--- trunk/boost/archive/impl/xml_woarchive_impl.ipp Mon Nov 11 05:43:15 2013 (r86616)
+++ trunk/boost/archive/impl/xml_woarchive_impl.ipp 2013-11-11 10:40:12 EST (Mon, 11 Nov 2013) (r86617)
@@ -42,7 +42,7 @@
 #ifndef BOOST_NO_CXX11_HDR_CODECVT
     #include <codecvt>
     namespace boost { namespace archive { namespace detail {
- typedef std::codecvt_utf8 utf8_codecvt_facet;
+ typedef std::codecvt_utf8<wchar_t> utf8_codecvt_facet;
     } } }
 #else
     #include <boost/archive/detail/utf8_codecvt_facet.hpp>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk