mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
Simpler check for optional
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#ifdef __has_include
|
||||
|
||||
#if defined(CLI11_CPP17) && __has_include(<optional>) && \
|
||||
defined(__cpp_lib_optional) && !defined(CLI11_STD_OPTIONAL)
|
||||
!defined(CLI11_STD_OPTIONAL)
|
||||
#define CLI11_STD_OPTIONAL 1
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user