diff --git a/node_ops/node_ops_ctl.cc b/node_ops/node_ops_ctl.cc index 64a1ab3618..b4e8329645 100644 --- a/node_ops/node_ops_ctl.cc +++ b/node_ops/node_ops_ctl.cc @@ -18,6 +18,8 @@ #include #include "idl/node_ops.dist.hh" +#include + static logging::logger nlogger("node_ops"); node_ops_ctl::node_ops_ctl(const service::storage_service& ss_, node_ops_cmd cmd, locator::host_id id, gms::inet_address ep, node_ops_id uuid) diff --git a/replica/database.hh b/replica/database.hh index 1d2bebb5b2..37b9c506a1 100644 --- a/replica/database.hh +++ b/replica/database.hh @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include "types/types.hh" @@ -240,7 +239,7 @@ public: // # 8904 - this method is akin to std::set::erase(key_type), not // erase(iterator). Should be tolerant against non-existing. void erase(const shared_memtable& element) noexcept { - auto i = boost::range::find(_memtables, element); + auto i = std::ranges::find(_memtables, element); if (i != _memtables.end()) { _memtables.erase(i); }