فهرست منبع

preparing for v3

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)