Просмотр исходного кода

test: enclose expression in parentheses

skypjack 1 месяц назад
Родитель
Сommit
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} {}