mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-31 20:42:10 +00:00
Support serialization in DLLS
Make thread-safe fix portable binary archives [SVN r43691]
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#define BOOST_ARCHIVE_SOURCE
|
||||
#define BOOST_WARCHIVE_SOURCE
|
||||
#include <boost/archive/codecvt_null.hpp>
|
||||
|
||||
// codecvt implementation for passing wchar_t objects to char output
|
||||
@@ -17,7 +17,7 @@
|
||||
namespace boost {
|
||||
namespace archive {
|
||||
|
||||
std::codecvt_base::result
|
||||
BOOST_WARCHIVE_DECL(std::codecvt_base::result)
|
||||
codecvt_null<wchar_t>::do_out(
|
||||
std::mbstate_t & state,
|
||||
const wchar_t * first1,
|
||||
@@ -45,7 +45,7 @@ codecvt_null<wchar_t>::do_out(
|
||||
return std::codecvt_base::ok;
|
||||
}
|
||||
|
||||
std::codecvt_base::result
|
||||
BOOST_WARCHIVE_DECL(std::codecvt_base::result)
|
||||
codecvt_null<wchar_t>::do_in(
|
||||
std::mbstate_t & state,
|
||||
const char * first1,
|
||||
|
||||
Reference in New Issue
Block a user