summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925>2015-07-27 22:00:58 +0000
committerkosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925>2015-07-27 22:00:58 +0000
commit4a92f8268e55eca3aedec9942de4b49d1f3c5bf1 (patch)
treeb721d710edc60b7a5698fd26a643b394283e315b
parentc4fa6f3891d94623a1fea29e279ab6b95a7932b5 (diff)
downloadgoogletest-4a92f8268e55eca3aedec9942de4b49d1f3c5bf1.tar.gz
Order the initializers correctly.
git-svn-id: http://googletest.googlecode.com/svn/trunk@743 861a406c-534a-0410-8894-cb66d6ee9925
-rw-r--r--src/gtest-port.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtest-port.cc b/src/gtest-port.cc
index 7c936f0..3842c41 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_);