From: Miod Vallat Date: Mon, 25 Aug 2025 10:23:24 +0000 (+0200) Subject: Remove workaround for Boost 1.53 since we require at least 1.54 to build. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbd4880971653b83afcb98b01291bf10c783fe63;p=thirdparty%2Fpdns.git Remove workaround for Boost 1.53 since we require at least 1.54 to build. Signed-off-by: Miod Vallat --- diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 724653554..1b65b2eac 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -1478,9 +1478,7 @@ BB2DomainInfo Bind2Backend::createDomainEntry(const ZoneName& domain, const stri { // Find a free zone id nr. auto state = s_state.read_lock(); if (!state->empty()) { - // older (1.53) versions of boost have an expression for s_state.rbegin() - // that is ambiguous in C++17. So construct it explicitly - newid = boost::make_reverse_iterator(state->end())->d_id + 1; + newid = state->rbegin()->d_id + 1; } }