diff --git a/lib/smallvector.h b/lib/smallvector.h index 49d0c7be1..ed70e14c3 100644 --- a/lib/smallvector.h +++ b/lib/smallvector.h @@ -35,7 +35,8 @@ template struct TaggedAllocator : std::allocator { template - explicit TaggedAllocator(Ts&&... ts) + // cppcheck-suppress noExplicitConstructor + TaggedAllocator(Ts&&... ts) : std::allocator(std::forward(ts)...) {} };