💄 ran clang-tidy
This commit is contained in:
parent
9755cc75b1
commit
245a69d554
4 changed files with 174 additions and 266 deletions
|
@ -80,7 +80,7 @@ struct my_allocator : std::allocator<T>
|
|||
}
|
||||
else
|
||||
{
|
||||
::new(reinterpret_cast<void*>(p)) T(std::forward<Args>(args)...);
|
||||
::new (reinterpret_cast<void*>(p)) T(std::forward<Args>(args)...);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -912,7 +912,7 @@ TEST_CASE("constructors")
|
|||
|
||||
SECTION("array")
|
||||
{
|
||||
json j { {"one", 1}, {"two", 1u}, {"three", 2.2}, {"four", false} , 13 };
|
||||
json j { {"one", 1}, {"two", 1u}, {"three", 2.2}, {"four", false}, 13 };
|
||||
CHECK(j.type() == json::value_t::array);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue