Michele Caini 6 лет назад
Родитель
Сommit
53a2c88d4b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -52,7 +52,7 @@ if(NOT MSVC AND USE_LIBCPP)
 
     check_cxx_source_compiles("
         #include<type_traits>
-        int main() { return std::is_same<int, int>::value ? 0 : 1; }
+        int main() { return std::is_same_v<int, int> ? 0 : 1; }
     " HAS_LIBCPP)
 
     if(NOT HAS_LIBCPP)