commit | 33307529412166cd7633eee9bf0b0aff21b5cf52 | [log] [tgz] |
---|---|---|
author | kosak <kosak@google.com> | Mon Jul 27 22:00:58 2015 +0000 |
committer | kosak <kosak@google.com> | Mon Jul 27 22:00:58 2015 +0000 |
tree | b721d710edc60b7a5698fd26a643b394283e315b | |
parent | 1e86cae1d64b9dd25f5ca0db09a2d17aad30593c [diff] |
Order the initializers correctly.
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 @@ } 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_);