diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-05-19 17:11:05 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-05-19 17:11:05 -0500 |
commit | da04c5fb48c12bfbc5c6e54c027ad1faaf9dae25 (patch) | |
tree | e9d92ee38aff40ae568420c4895453d0f168fae7 /tests | |
parent | Merge pull request #6551 (diff) | |
parent | build: fix boost 1.73 compatibility (diff) | |
download | monero-da04c5fb48c12bfbc5c6e54c027ad1faaf9dae25.tar.xz |
Merge pull request #6532
f35ced6 build: fix boost 1.73 compatibility (selsta)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core_tests/chaingen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index 453ee923d..441f483ed 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -856,10 +856,10 @@ inline bool do_replay_file(const std::string& filename) } #define REGISTER_CALLBACK(CB_NAME, CLBACK) \ - register_callback(CB_NAME, boost::bind(&CLBACK, this, _1, _2, _3)); + register_callback(CB_NAME, boost::bind(&CLBACK, this, boost::placeholders::_1, boost::placeholders::_2, boost::placeholders::_3)); #define REGISTER_CALLBACK_METHOD(CLASS, METHOD) \ - register_callback(#METHOD, boost::bind(&CLASS::METHOD, this, _1, _2, _3)); + register_callback(#METHOD, boost::bind(&CLASS::METHOD, this, boost::placeholders::_1, boost::placeholders::_2, boost::placeholders::_3)); #define MAKE_GENESIS_BLOCK(VEC_EVENTS, BLK_NAME, MINER_ACC, TS) \ test_generator generator; \ |