diff --git a/test/common/throwing_allocator.hpp b/test/common/throwing_allocator.hpp index c2056c21b..0034b49d6 100644 --- a/test/common/throwing_allocator.hpp +++ b/test/common/throwing_allocator.hpp @@ -20,7 +20,7 @@ class throwing_allocator { friend class throwing_allocator; template - requires !std::is_void_v || std::constructible_from, std::allocator> + requires (!std::is_void_v || std::constructible_from, std::allocator>) throwing_allocator(int, const throwing_allocator &other) : allocator{other.allocator}, config{other.config} {}