diff options
author | kenshi84 <kenshi84@protonmail.ch> | 2016-12-16 18:10:03 +0900 |
---|---|---|
committer | kenshi84 <kenshi84@protonmail.ch> | 2016-12-16 23:46:24 +0900 |
commit | 66e6af89ce413ed7bb9f427d64250c6cc4bc3120 (patch) | |
tree | dd9b808d9ac6cb0e6c46bcf1fbe4bbdfa082bbc2 /src/simplewallet/simplewallet.cpp | |
parent | Merge pull request #1459 (diff) | |
download | monero-66e6af89ce413ed7bb9f427d64250c6cc4bc3120.tar.xz |
added experimental boost::archive::portable_binary_{i|o}archive
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index b46447975..222998dfd 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3882,7 +3882,7 @@ bool simple_wallet::export_outputs(const std::vector<std::string> &args) std::vector<tools::wallet2::transfer_details> outs = m_wallet->export_outputs(); std::stringstream oss; - boost::archive::binary_oarchive ar(oss); + boost::archive::portable_binary_oarchive ar(oss); ar << outs; std::string magic(OUTPUT_EXPORT_FILE_MAGIC, strlen(OUTPUT_EXPORT_FILE_MAGIC)); @@ -3962,7 +3962,7 @@ bool simple_wallet::import_outputs(const std::vector<std::string> &args) std::string body(data, headerlen); std::stringstream iss; iss << body; - boost::archive::binary_iarchive ar(iss); + boost::archive::portable_binary_iarchive ar(iss); std::vector<tools::wallet2::transfer_details> outputs; ar >> outputs; |