Add NOLINT since clang-tidy requests make_unique, but C++11 jobs don't support it

This commit is contained in:
Raphael Grimm 2021-11-01 12:23:49 +01:00 committed by barcode
parent ef54887aa4
commit e41e315164

View File

@ -173,7 +173,7 @@ TEST_CASE("JSON Node Metadata")
{
using json = json_with_metadata<std::unique_ptr<int>>;
json value;
value.metadata().reset(new int(42));
value.metadata().reset(new int(42)); // NOLINT
auto moved = std::move(value);
CHECK(moved.metadata() != nullptr);