aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints/checkpoints.cpp
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2020-05-14 22:57:53 +0200
committerselsta <selsta@sent.at>2020-05-14 22:57:53 +0200
commitf35ced6d7f00282091a9623bad573132f42a91b0 (patch)
tree1aea66f2e56063eb0a5f20481e42dcf92c296af0 /src/checkpoints/checkpoints.cpp
parentMerge pull request #6510 (diff)
downloadmonero-f35ced6d7f00282091a9623bad573132f42a91b0.tar.xz
build: fix boost 1.73 compatibility
Diffstat (limited to 'src/checkpoints/checkpoints.cpp')
-rw-r--r--src/checkpoints/checkpoints.cpp4
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;
}
//---------------------------------------------------------------------------