From 173bf054faa185b199cb00307a6ff3021f96ac41 Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 13 Apr 2022 13:49:37 +0200 Subject: [PATCH] smallvector.h: reverted bogus noExplicitConstructor fix and suppress the warning --- lib/smallvector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/smallvector.h b/lib/smallvector.h index 49d0c7be112..ed70e14c335 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)...) {} };