ucrtbase: Avoid bool optimization in __std_exception_copy.

Otherwise GCC changes do_free = 1 assignment to *dst = *src which breaks
ucrtbase/cpp tests.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2021-10-18 14:58:01 +02:00 committed by Alexandre Julliard
parent 7a98557352
commit 21da1f2f11

View file

@ -473,7 +473,7 @@ void CDECL __CxxUnregisterExceptionObject(cxx_frame_info *frame_info, BOOL in_us
struct __std_exception_data {
char *what;
bool dofree;
char dofree;
};
#if _MSVCR_VER>=140