mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-23 16:02:13 +00:00
Changes to get things linking correctly with msvc:
1) Move the two facets utf8_codecvt_facet and codecvt_null into the main serialization archive as they get referenced from xml_oarchive.obj. 2) Add DLL-interface to utf8_codecvt_facet. 3) Change codecvt_null to use narrow character DLL interface macros.
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
template<>
|
||||
class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
|
||||
{
|
||||
virtual BOOST_WARCHIVE_DECL std::codecvt_base::result
|
||||
virtual BOOST_ARCHIVE_DECL std::codecvt_base::result
|
||||
do_out(
|
||||
std::mbstate_t & state,
|
||||
const wchar_t * first1,
|
||||
@@ -71,7 +71,7 @@ class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
|
||||
char * last2,
|
||||
char * & next2
|
||||
) const;
|
||||
virtual BOOST_WARCHIVE_DECL std::codecvt_base::result
|
||||
virtual BOOST_ARCHIVE_DECL std::codecvt_base::result
|
||||
do_in(
|
||||
std::mbstate_t & state,
|
||||
const char * first1,
|
||||
|
||||
Reference in New Issue
Block a user