Gábor Gyimesi created MINIFICPP-2583:
----------------------------------------
Summary: Handle std::expected return values to fix warnings
Key: MINIFICPP-2583
URL: https://issues.apache.org/jira/browse/MINIFICPP-2583
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Reporter: Gábor Gyimesi
Assignee: Gábor Gyimesi
The return values of functions returning std::expected types cannot be
discarded as the std::expected type is marked with [[nodiscard]] attribute in
the MSVC implementation. As we previously used nonstd::expected that did not
have any restriction. We should handle the return values of these functions to
avoid these warnings.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)