diff options
author | kenshi84 <kenshi84@protonmail.ch> | 2016-12-30 22:51:43 +0900 |
---|---|---|
committer | kenshi84 <kenshi84@protonmail.ch> | 2017-01-02 20:04:58 +0900 |
commit | f390a0e2dcc6b2a67b3161d167da4378e898e177 (patch) | |
tree | 251bbcf129128f677263a57c79a046b9cbe0d5f1 /external/boost/archive/portable_binary_oarchive.hpp | |
parent | Merge pull request #1487 (diff) | |
download | monero-f390a0e2dcc6b2a67b3161d167da4378e898e177.tar.xz |
portable serializer: make signerd/unsigned tx portable, ignore archive version checking
Diffstat (limited to 'external/boost/archive/portable_binary_oarchive.hpp')
-rw-r--r-- | external/boost/archive/portable_binary_oarchive.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/boost/archive/portable_binary_oarchive.hpp b/external/boost/archive/portable_binary_oarchive.hpp index 8fd7090a1..cdb4caf03 100644 --- a/external/boost/archive/portable_binary_oarchive.hpp +++ b/external/boost/archive/portable_binary_oarchive.hpp @@ -277,10 +277,14 @@ portable_binary_oarchive::init(unsigned int flags) { boost::archive::BOOST_ARCHIVE_SIGNATURE()
);
* this << file_signature;
+ // ignore archive version checking
+ const boost::archive::library_version_type v{};
+ /*
// write library version
const boost::archive::library_version_type v(
boost::archive::BOOST_ARCHIVE_VERSION()
);
+ */
* this << v;
}
save(static_cast<unsigned char>(m_flags >> CHAR_BIT));
|