Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
achabense committed Aug 14, 2023
1 parent 0bd784a commit df55631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stl/src/cthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ _CRTIMP2_PURE _Thrd_result __cdecl _Thrd_create(_Thrd_t* thr, _Thrd_start_t func
_Mtx_internal_imp_t mtx_storage{};
_Cnd_init_in_situ(reinterpret_cast<_Cnd_t>(&cond_storage));
_Mtx_init_in_situ(&mtx_storage, _Mtx_plain);

_Cnd_t cond = reinterpret_cast<_Cnd_t>(&cond_storage);
_Mtx_t mtx = &mtx_storage;

b.func = func;
b.data = d;
b.cond = &cond;
Expand Down

0 comments on commit df55631

Please sign in to comment.