From 953a08155953b6a3cc849e3a0d00789ef30fdb96 Mon Sep 17 00:00:00 2001 From: sowle Date: Wed, 12 Jun 2019 18:45:20 +0300 Subject: [PATCH] eos portable archive: fix boost archive version back to make it independent from Boost version (also, fix for ZANO-307) --- .../eos/portable_archive_exception.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/contrib/eos_portable_archive/eos/portable_archive_exception.hpp b/contrib/eos_portable_archive/eos/portable_archive_exception.hpp index 719fc004..5af9c802 100644 --- a/contrib/eos_portable_archive/eos/portable_archive_exception.hpp +++ b/contrib/eos_portable_archive/eos/portable_archive_exception.hpp @@ -35,11 +35,14 @@ namespace eos { // version of the linked boost archive library const archive_version_type archive_version( - #if BOOST_VERSION < 103700 - boost::archive::ARCHIVE_VERSION() - #else - boost::archive::BOOST_ARCHIVE_VERSION() - #endif + + 100 // explicitly fix archive version to make it independent from Boost version + + //#if BOOST_VERSION < 103700 + // boost::archive::ARCHIVE_VERSION() + //#else + // boost::archive::BOOST_ARCHIVE_VERSION() + //#endif ); /**