diff options
author | kosak <kosak@google.com> | 2015-07-27 22:00:58 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2015-07-27 22:00:58 +0000 |
commit | 33307529412166cd7633eee9bf0b0aff21b5cf52 (patch) | |
tree | b721d710edc60b7a5698fd26a643b394283e315b /src | |
parent | 1e86cae1d64b9dd25f5ca0db09a2d17aad30593c (diff) | |
download | googletest-33307529412166cd7633eee9bf0b0aff21b5cf52.tar.gz googletest-33307529412166cd7633eee9bf0b0aff21b5cf52.tar.bz2 googletest-33307529412166cd7633eee9bf0b0aff21b5cf52.zip |
Order the initializers correctly.
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest-port.cc | 4 |
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_); |