Преглед изворни кода

test: enclose expression in parentheses

skypjack пре 2 месеци
родитељ
комит
e08302e169
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test/common/throwing_allocator.hpp

+ 1 - 1
test/common/throwing_allocator.hpp

@@ -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} {}