From: Otto Moerbeek Date: Wed, 15 Jan 2025 12:06:31 +0000 (+0100) Subject: Appease clang-tidy X-Git-Tag: dnsdist-2.0.0-alpha1~162^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=538c8d3d00ec7bf1aae3dbbafc7c877720d04db4;p=thirdparty%2Fpdns.git Appease clang-tidy --- diff --git a/pdns/recursordist/test-ednsoptions_cc.cc b/pdns/recursordist/test-ednsoptions_cc.cc index eff82307f7..fd6097f46b 100644 --- a/pdns/recursordist/test-ednsoptions_cc.cc +++ b/pdns/recursordist/test-ednsoptions_cc.cc @@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE(test_getEDNSOption) BOOST_CHECK_EQUAL(res, 0); EDNSSubnetOpts eso; - BOOST_REQUIRE(EDNSSubnetOpts::getFromString(reinterpret_cast(&query.at(pos + 9 + ecsStartPosition + 4)), ecsLen - 4, &eso)); + BOOST_REQUIRE(EDNSSubnetOpts::getFromString(reinterpret_cast(&query.at(pos + 9 + ecsStartPosition + 4)), ecsLen - 4, &eso)); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) BOOST_CHECK(eso.getSource() == ecs); }