smallvector.h: reverted bogus noExplicitConstructor fix and suppress the warning (#4016)
This commit is contained in:
parent
8203c74c40
commit
16e90ed3e2
|
@ -35,7 +35,8 @@ template<class T, std::size_t N>
|
|||
struct TaggedAllocator : std::allocator<T>
|
||||
{
|
||||
template<class ... Ts>
|
||||
explicit TaggedAllocator(Ts&&... ts)
|
||||
// cppcheck-suppress noExplicitConstructor
|
||||
TaggedAllocator(Ts&&... ts)
|
||||
: std::allocator<T>(std::forward<Ts>(ts)...)
|
||||
{}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue