[ 
https://issues.apache.org/jira/browse/MINIFICPP-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2583:
-------------------------------------
    Fix Version/s: 0.99.2

> 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
>            Priority: Major
>             Fix For: 0.99.2
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to