aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2015-07-27 22:00:58 +0000
committerkosak <kosak@google.com>2015-07-27 22:00:58 +0000
commit33307529412166cd7633eee9bf0b0aff21b5cf52 (patch)
treeb721d710edc60b7a5698fd26a643b394283e315b /src
parent1e86cae1d64b9dd25f5ca0db09a2d17aad30593c (diff)
downloadgoogletest-33307529412166cd7633eee9bf0b0aff21b5cf52.tar.gz
googletest-33307529412166cd7633eee9bf0b0aff21b5cf52.tar.bz2
googletest-33307529412166cd7633eee9bf0b0aff21b5cf52.zip
Order the initializers correctly.
Diffstat (limited to 'src')
-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 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_);