Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stl/inc/future
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/yvals_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down