Fix build in gcc + older boost

This commit is contained in:
Lee *!* Clagett
2025-04-06 01:02:31 -04:00
parent 863e7fa836
commit f09925f33e
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -28,6 +28,8 @@
#include "transaction_info.h"
#include <boost/container/throw_exception.hpp>
#include <boost/version.hpp>
#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&)
{}