Skip to content

Commit 346966b

Browse files
committed
remove linter exception
1 parent bfc6720 commit 346966b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_public_roundtrip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ TEST_CASE("RoundtripSimple")
8585

8686
// Generate random payload. The size may be larger than expected to test the implicit truncation rule.
8787
const auto payload_size = getRandomNatural<std::size_t>(st.extent + 1024U);
88-
PayloadPtr payload{new std::uint8_t[payload_size]};
88+
PayloadPtr payload{new std::uint8_t[payload_size]}; // NOLINT(clang-analyzer-cplusplus.NewDeleteLeaks)
8989
std::generate_n(payload.get(), payload_size, [&]() { return getRandomNatural<std::uint8_t>(256U); });
9090

9191
// Generate the transfer.

0 commit comments

Comments
 (0)