Skip to content

Commit 76fe8cd

Browse files
committed
Simpler check for optional
1 parent 60144f7 commit 76fe8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/CLI/Optional.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#ifdef __has_include
1212

1313
#if defined(CLI11_CPP17) && __has_include(<optional>) && \
14-
defined(__cpp_lib_optional) && !defined(CLI11_STD_OPTIONAL)
14+
!defined(CLI11_STD_OPTIONAL)
1515
#define CLI11_STD_OPTIONAL 1
1616
#endif
1717

0 commit comments

Comments
 (0)