diff --git a/bindings/cpp/include/wtf/platform/platform_aux_pthreads_threaded_inl.h b/bindings/cpp/include/wtf/platform/platform_aux_pthreads_threaded_inl.h index 4e3cc3f8..56cc7287 100644 --- a/bindings/cpp/include/wtf/platform/platform_aux_pthreads_threaded_inl.h +++ b/bindings/cpp/include/wtf/platform/platform_aux_pthreads_threaded_inl.h @@ -30,7 +30,7 @@ using std::memory_order_relaxed; using std::memory_order_release; using std::memory_order_seq_cst; -using once_flag = struct { pthread_once_t flag{PTHREAD_ONCE_INIT}; }; +using once_flag = struct { pthread_once_t flag = PTHREAD_ONCE_INIT; }; template inline void call_once(once_flag& once, T func) {