diff --git a/include/sparrow/buffer.hpp b/include/sparrow/buffer.hpp index 053853ff..fc8f6bb0 100644 --- a/include/sparrow/buffer.hpp +++ b/include/sparrow/buffer.hpp @@ -128,7 +128,10 @@ namespace sparrow template requires (not std::same_as> and allocator) - constexpr explicit buffer(const A& a); + constexpr explicit buffer(const A& a) + : base_type(a) + { + } template explicit buffer(size_type n, const A& a = A()); @@ -374,14 +377,6 @@ namespace sparrow * buffer implementation * *************************/ - template - template - requires (not std::same_as> and allocator) - constexpr buffer::buffer(const A& a) - : base_type(a) - { - } - template template buffer::buffer(size_type n, const A& a)