diff --git a/stl/inc/future b/stl/inc/future index 2e7ea8705..53d98572d 100644 --- a/stl/inc/future +++ b/stl/inc/future @@ -1238,11 +1238,11 @@ public: } void set_value(_Ty& _Val) { - _MyPromise._Get_state_for_set()._Set_value(&_Val, false); + _MyPromise._Get_state_for_set()._Set_value(_STD addressof(_Val), false); } void set_value_at_thread_exit(_Ty& _Val) { - _MyPromise._Get_state_for_set()._Set_value(&_Val, true); + _MyPromise._Get_state_for_set()._Set_value(_STD addressof(_Val), true); } void set_exception(exception_ptr _Exc) { diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index aafec2118..d0ca6c339 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -424,7 +424,7 @@ #define _CPPLIB_VER 650 #define _MSVC_STL_VERSION 142 -#define _MSVC_STL_UPDATE 201911L +#define _MSVC_STL_UPDATE 201912L #ifndef _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH #ifdef __EDG__