diff options
author | Lee Clagett <code@leeclagett.com> | 2020-05-31 21:18:11 -0400 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2020-05-31 21:18:11 -0400 |
commit | 7aeb5035476c672e4c329c02b20ced1669ebe4cd (patch) | |
tree | 41562e1722533860750b064f214840578793ee5c /src/wallet/wallet2.cpp | |
parent | Merge pull request #6582 (diff) | |
download | monero-7aeb5035476c672e4c329c02b20ced1669ebe4cd.tar.xz |
Fix boost <1.60 compilation and fix boost 1.73+ warnings
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 93e522a93..3c0b4a75a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -947,7 +947,7 @@ uint32_t get_subaddress_clamped_sum(uint32_t idx, uint32_t extra) static void setup_shim(hw::wallet_shim * shim, tools::wallet2 * wallet) { - shim->get_tx_pub_key_from_received_outs = boost::bind(&tools::wallet2::get_tx_pub_key_from_received_outs, wallet, _1); + shim->get_tx_pub_key_from_received_outs = std::bind(&tools::wallet2::get_tx_pub_key_from_received_outs, wallet, std::placeholders::_1); } bool get_pruned_tx(const cryptonote::COMMAND_RPC_GET_TRANSACTIONS::entry &entry, cryptonote::transaction &tx, crypto::hash &tx_hash) |