We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfc6720 commit 346966bCopy full SHA for 346966b
tests/test_public_roundtrip.cpp
@@ -85,7 +85,7 @@ TEST_CASE("RoundtripSimple")
85
86
// Generate random payload. The size may be larger than expected to test the implicit truncation rule.
87
const auto payload_size = getRandomNatural<std::size_t>(st.extent + 1024U);
88
- PayloadPtr payload{new std::uint8_t[payload_size]};
+ PayloadPtr payload{new std::uint8_t[payload_size]}; // NOLINT(clang-analyzer-cplusplus.NewDeleteLeaks)
89
std::generate_n(payload.get(), payload_size, [&]() { return getRandomNatural<std::uint8_t>(256U); });
90
91
// Generate the transfer.
0 commit comments