diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h index 8fc1ddc7..487d685a 100644 --- a/googlemock/include/gmock/internal/gmock-internal-utils.h +++ b/googlemock/include/gmock/internal/gmock-internal-utils.h @@ -298,7 +298,7 @@ GTEST_API_ void Log(LogSeverity severity, const std::string& message, // class WithoutMatchers { private: - WithoutMatchers() {} + WithoutMatchers() = default; friend GTEST_API_ WithoutMatchers GetWithoutMatchers(); };