Add NOLINT since clang-tidy requests make_unique, but C++11 jobs don't support it
This commit is contained in:
parent
ef54887aa4
commit
e41e315164
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user