Michele Caini 7 роки тому
батько
коміт
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("
     check_cxx_source_compiles("
         #include<type_traits>
         #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)
     " HAS_LIBCPP)
 
 
     if(NOT HAS_LIBCPP)
     if(NOT HAS_LIBCPP)