]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
bump: Upgrade to nonstd::expected 0.6.0
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 27 May 2022 17:54:10 +0000 (19:54 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 27 May 2022 17:54:10 +0000 (19:54 +0200)
LICENSE.adoc
src/third_party/nonstd/expected.hpp

index 3f33b7207a28bc81d80d6ac7f21e15d35fae5826..2413c98e9aca1e89ebb1c687864fc3bd19a9769e 100644 (file)
@@ -577,8 +577,8 @@ SOFTWARE.
 === src/third_party/nonstd/expected.hpp
 
 This is the single header version of
-https://github.com/martinmoene/expected-lite[expected-lite] revision
-3abf06821d489d56aa9c60eccf8aab70d67d158b with the following license:
+https://github.com/martinmoene/expected-lite[expected-lite] 0.6.0 with the
+following license:
 
 ----
 Copyright (c) 2016-2020 Martin Moene
index 2bd18344a2f9eeb3e3aad6e5e3c7ce43bc53b24b..45b6f5e003add2b8f634f51162646cd7cadbb08a 100644 (file)
 #define nsel_CPP14_OR_GREATER  ( nsel_CPLUSPLUS >= 201402L )
 #define nsel_CPP17_OR_GREATER  ( nsel_CPLUSPLUS >= 201703L )
 #define nsel_CPP20_OR_GREATER  ( nsel_CPLUSPLUS >= 202000L )
+#define nsel_CPP23_OR_GREATER  ( nsel_CPLUSPLUS >= 202300L )
 
-// Use C++20 std::expected if available and requested:
+// Use C++23 std::expected if available and requested:
 
-#if nsel_CPP20_OR_GREATER && defined(__has_include )
+#if nsel_CPP23_OR_GREATER && defined(__has_include )
 # if __has_include( <expected> )
 #  define nsel_HAVE_STD_EXPECTED  1
 # else