aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmock-internal-utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmock-internal-utils.cc')
-rw-r--r--src/gmock-internal-utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmock-internal-utils.cc b/src/gmock-internal-utils.cc
index 4c51ec00..cc51836b 100644
--- a/src/gmock-internal-utils.cc
+++ b/src/gmock-internal-utils.cc
@@ -103,7 +103,7 @@ FailureReporterInterface* GetFailureReporter() {
}
// Protects global resources (stdout in particular) used by Log().
-static Mutex g_log_mutex(Mutex::NO_CONSTRUCTOR_NEEDED_FOR_STATIC_MUTEX);
+static GTEST_DEFINE_STATIC_MUTEX_(g_log_mutex);
// Returns true iff a log with the given severity is visible according
// to the --gmock_verbose flag.