From 43c5c2dd0db3504a085f179fc2e2de63fe16b29c Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 6 Oct 2023 11:12:33 +0200 Subject: [PATCH] test: suppress another warning by clang-cl --- test/entt/common/basic_test_allocator.hpp | 5 +++++ 1 file changed, 5 insertions(+) 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);