mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-14 13:02:27 +00:00
finally?! fixed problem with failing xml_warchive
This commit is contained in:
@@ -155,9 +155,13 @@ basic_binary_iprimitive<Archive, Elem, Tr>::basic_binary_iprimitive(
|
||||
locale_saver(m_sb)
|
||||
{
|
||||
if(! no_codecvt){
|
||||
codecvt_facet.reset(new codecvt_null<Elem>(1));
|
||||
archive_locale.reset(add_facet(std::locale::classic(),codecvt_facet.get()));
|
||||
m_sb.pubimbue(* archive_locale);
|
||||
archive_locale.reset(
|
||||
add_facet(
|
||||
std::locale::classic(),
|
||||
new codecvt_null<Elem>
|
||||
)
|
||||
);
|
||||
//m_sb.pubimbue(* archive_locale);
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user