Fix Clang-Tidy warnings (#4047)

This commit is contained in:
Niels Lohmann
2023-06-08 18:46:48 +02:00
committed by GitHub
parent a0c1318830
commit ab06fc9951
12 changed files with 24 additions and 22 deletions

View File

@@ -24,7 +24,7 @@ struct bad_allocator : std::allocator<T>
template<class U> bad_allocator(const bad_allocator<U>& /*unused*/) { }
template<class... Args>
void construct(T* /*unused*/, Args&& ... /*unused*/)
void construct(T* /*unused*/, Args&& ... /*unused*/) // NOLINT(cppcoreguidelines-missing-std-forward)
{
throw std::bad_alloc();
}