diff --git a/test/entt/common/basic_test_allocator.hpp b/test/entt/common/basic_test_allocator.hpp index 73828fd4a..9a2192bfe 100644 --- a/test/entt/common/basic_test_allocator.hpp +++ b/test/entt/common/basic_test_allocator.hpp @@ -16,6 +16,11 @@ struct basic_test_allocator: std::allocator { using std::allocator::allocator; + // necessary to avoid a warning by clang-cl :) + basic_test_allocator(const basic_test_allocator &other) + : base{other} { + } + basic_test_allocator &operator=(const basic_test_allocator &other) { // necessary to avoid call suppression base::operator=(other);