Skip to content

Commit e08302e

Browse files
committed
test: enclose expression in parentheses
1 parent 6ce08bc commit e08302e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/throwing_allocator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class throwing_allocator {
2020
friend class throwing_allocator;
2121

2222
template<typename Other>
23-
requires !std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>
23+
requires (!std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>)
2424
throwing_allocator(int, const throwing_allocator<Other> &other)
2525
: allocator{other.allocator},
2626
config{other.config} {}

0 commit comments

Comments
 (0)