This is an automated email from the ASF dual-hosted git repository.

lordgamez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 9dbf996da5d2023b77bb490ca26ae74438e4bb45
Author: Ferenc Gerlits <[email protected]>
AuthorDate: Fri Feb 21 09:21:24 2025 +0100

    MINIFICPP-2529 Upgrade expected_lite to v0.8.0
    
    This is needed to support compilers which provide std::expected.
    
    Visual Studio 17.13 (finally) provides the C++23 feature std::expected, so 
expected_lite tries to use it and act as a wrapper around it. However, the old 
version we use, v0.6.0, only wraps std::expected, so the compilation fails.
    
https://github.com/martinmoene/expected-lite/blob/v0.6.0/include/nonstd/expected.hpp#L216-L220
    
    The latest release, v0.8.0, wraps all required symbols including 
std::unexpect and std::unexpected_type etc:
    
https://github.com/martinmoene/expected-lite/blob/v0.8.0/include/nonstd/expected.hpp#L231-L251
    
    Signed-off-by: Gabor Gyimesi <[email protected]>
    
    This closes #1935
---
 cmake/ExpectedLite.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/ExpectedLite.cmake b/cmake/ExpectedLite.cmake
index 2a41fc226..f74dcfa35 100644
--- a/cmake/ExpectedLite.cmake
+++ b/cmake/ExpectedLite.cmake
@@ -18,7 +18,7 @@
 include(FetchContent)
 
 FetchContent_Declare(expected-lite
-    URL      
https://github.com/martinmoene/expected-lite/archive/refs/tags/v0.6.0.tar.gz
-    URL_HASH 
SHA256=90478ff7345100bf7539b12ea2c5ff04a7b6290bc5c280f02b473d5c65165342
+    URL      
https://github.com/martinmoene/expected-lite/archive/refs/tags/v0.8.0.tar.gz
+    URL_HASH 
SHA256=27649f30bd9d4fe7b193ab3eb6f78c64d0f585c24c085f340b4722b3d0b5e701
 )
 FetchContent_MakeAvailable(expected-lite)

Reply via email to