diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-05-27 18:25:33 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-05-27 18:25:33 -0500 |
| commit | 463d044f5e49a1ab409d235f421dda6f0363c4c4 (patch) | |
| tree | 1aea66f2e56063eb0a5f20481e42dcf92c296af0 /src/checkpoints/checkpoints.cpp | |
| parent | 77a008f71454ce4dd4bce033bc0319a49e2cec51 (diff) | |
| parent | f35ced6d7f00282091a9623bad573132f42a91b0 (diff) | |
| download | monzero-core-463d044f5e49a1ab409d235f421dda6f0363c4c4.tar.gz monzero-core-463d044f5e49a1ab409d235f421dda6f0363c4c4.tar.xz monzero-core-463d044f5e49a1ab409d235f421dda6f0363c4c4.zip | |
Merge pull request #6531
f35ced6 build: fix boost 1.73 compatibility (selsta)
Diffstat (limited to 'src/checkpoints/checkpoints.cpp')
| -rw-r--r-- | src/checkpoints/checkpoints.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checkpoints/checkpoints.cpp b/src/checkpoints/checkpoints.cpp index 4a4b3c5c2..852e21318 100644 --- a/src/checkpoints/checkpoints.cpp +++ b/src/checkpoints/checkpoints.cpp @@ -135,8 +135,8 @@ namespace cryptonote { std::map< uint64_t, crypto::hash >::const_iterator highest = std::max_element( m_points.begin(), m_points.end(), - ( boost::bind(&std::map< uint64_t, crypto::hash >::value_type::first, _1) < - boost::bind(&std::map< uint64_t, crypto::hash >::value_type::first, _2 ) ) ); + ( boost::bind(&std::map< uint64_t, crypto::hash >::value_type::first, boost::placeholders::_1) < + boost::bind(&std::map< uint64_t, crypto::hash >::value_type::first, boost::placeholders::_2 ) ) ); return highest->first; } //--------------------------------------------------------------------------- |
