Przeglądaj źródła

Merge topic 'bootstrap-intel'

796466284b bootstrap: Fix support for Intel compiler with modern GNU system compiler

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5057
Brad King 5 lat temu
rodzic
commit
b76fa1b62a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bootstrap

+ 1 - 1
bootstrap

@@ -1188,7 +1188,7 @@ int check_cxx14()
 }
 #endif
 
-#if (__cplusplus >= 201703L || defined(__INTEL_COMPILER) && defined(__cpp_if_constexpr))
+#if (__cplusplus >= 201703L || defined(__INTEL_COMPILER) && defined(__cpp_deduction_guides))
 #include <optional>
 template <typename T,
           typename std::invoke_result<decltype(&T::get), T>::type = nullptr>