diff --git a/lib/smallvector.h b/lib/smallvector.h index 42c45a173bf..a3c127a9586 100644 --- a/lib/smallvector.h +++ b/lib/smallvector.h @@ -41,6 +41,15 @@ struct TaggedAllocator : std::allocator TaggedAllocator(Ts&&... ts) : std::allocator(std::forward(ts)...) {} + + template + TaggedAllocator(const TaggedAllocator); + + template + struct rebind + { + using other = TaggedAllocator; + }; }; template