diff --git a/src/ledger_main.cpp b/src/ledger_main.cpp index 5d2e09a..42f8a45 100644 --- a/src/ledger_main.cpp +++ b/src/ledger_main.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/src/transaction_info.cpp b/src/transaction_info.cpp index 4a4faf9..5ebf9cb 100644 --- a/src/transaction_info.cpp +++ b/src/transaction_info.cpp @@ -28,6 +28,8 @@ #include "transaction_info.h" +#include +#include #include "hex.h" namespace @@ -130,8 +132,10 @@ namespace lwsf { namespace internal return wallet_->primary.subaccounts.at(spend.sender.maj_i).minor.at(spend.sender.min_i).label; } } +#if BOOST_VERSION >= 107600 catch (const boost::container::out_of_range&) {} +#endif catch (const std::out_of_range&) {}