test: enclose expression in parentheses

This commit is contained in:
skypjack
2026-02-02 14:04:46 +01:00
parent 6ce08bc01d
commit e08302e169

View File

@@ -20,7 +20,7 @@ class throwing_allocator {
friend class throwing_allocator;
template<typename Other>
requires !std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>
requires (!std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>)
throwing_allocator(int, const throwing_allocator<Other> &other)
: allocator{other.allocator},
config{other.config} {}