From 33307529412166cd7633eee9bf0b0aff21b5cf52 Mon Sep 17 00:00:00 2001 From: kosak Date: Mon, 27 Jul 2015 22:00:58 +0000 Subject: [PATCH] Order the initializers correctly. --- src/gtest-port.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtest-port.cc b/src/gtest-port.cc index 7c936f08..3842c415 100644 --- a/src/gtest-port.cc +++ b/src/gtest-port.cc @@ -218,8 +218,8 @@ void Notification::WaitForNotification() { } Mutex::Mutex() - : type_(kDynamic), - owner_thread_id_(0), + : owner_thread_id_(0), + type_(kDynamic), critical_section_init_phase_(0), critical_section_(new CRITICAL_SECTION) { ::InitializeCriticalSection(critical_section_);