Skip to content

Commit

Permalink
Appease clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Jan 15, 2025
1 parent 82933fa commit 538c8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/recursordist/test-ednsoptions_cc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE(test_getEDNSOption)
BOOST_CHECK_EQUAL(res, 0);

EDNSSubnetOpts eso;
BOOST_REQUIRE(EDNSSubnetOpts::getFromString(reinterpret_cast<const char*>(&query.at(pos + 9 + ecsStartPosition + 4)), ecsLen - 4, &eso));
BOOST_REQUIRE(EDNSSubnetOpts::getFromString(reinterpret_cast<const char*>(&query.at(pos + 9 + ecsStartPosition + 4)), ecsLen - 4, &eso)); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)

BOOST_CHECK(eso.getSource() == ecs);
}
Expand Down

0 comments on commit 538c8d3

Please sign in to comment.