From ea0af71ac8ba1db271b5f6d25c0955a22087bde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 21 Sep 2025 11:12:24 +0200 Subject: [PATCH] Add allocator converting constructor + default constructor --- test/dummy_test_allocator.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/dummy_test_allocator.hpp b/test/dummy_test_allocator.hpp index 726554d..5e4d751 100644 --- a/test/dummy_test_allocator.hpp +++ b/test/dummy_test_allocator.hpp @@ -250,6 +250,13 @@ class small_size_type_allocator typedef unsigned short size_type; typedef short difference_type; + small_size_type_allocator() + {} + + template + small_size_type_allocator(const small_size_type_allocator&) + {} + pointer allocate(size_type count) { return static_cast(::operator new(count * sizeof(value_type))); }