diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index e418abc221c..2f224c7bf99 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -603,9 +603,8 @@ "the temporary 'std::future' is destroyed, waiting for an async result or evaluating " \ "a deferred result, thus defeating the purpose of 'std::async'.") -#define _NODISCARD_GET_FUTURE \ - _NODISCARD_MSG("Getting the future more than once or not satisfying the obtained future will throw a " \ - "future_error exception, so it is incorrect to call 'get_future' and discard the return value.") +#define _NODISCARD_GET_FUTURE \ + _NODISCARD_MSG("Since 'get_future' may be called only once, discarding the result is likely a mistake.") #pragma push_macro("msvc") #pragma push_macro("known_semantics")