Commit 6f41cca9189129fd6df8c82bff532693dcfe52c3

Authored by Henry Fredrick Schreiner
Committed by Henry Schreiner
1 parent 189546b8

Simpler check for optional

Showing 1 changed file with 1 additions and 1 deletions
include/CLI/Optional.hpp
... ... @@ -11,7 +11,7 @@
11 11 #ifdef __has_include
12 12  
13 13 #if defined(CLI11_CPP17) && __has_include(<optional>) && \
14   - defined(__cpp_lib_optional) && !defined(CLI11_STD_OPTIONAL)
  14 + !defined(CLI11_STD_OPTIONAL)
15 15 #define CLI11_STD_OPTIONAL 1
16 16 #endif
17 17  
... ...