Michele Caini 7 anni fa
parent
commit
53a2c88d4b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)