From 637b0411fa5037f3a618e459f0145bd6d3e29d36 Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Thu, 1 Aug 2019 11:33:36 +0200 Subject: remove an excessive mutable type specifier MockFunction's private member cannot be reached from outside and all its non-static member functions are not const. --- googlemock/include/gmock/gmock-spec-builders.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'googlemock/include/gmock') diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h index 81ee3457..735a3bcb 100644 --- a/googlemock/include/gmock/gmock-spec-builders.h +++ b/googlemock/include/gmock/gmock-spec-builders.h @@ -1870,7 +1870,7 @@ class MockFunction { } private: - mutable internal::FunctionMocker mock_; + internal::FunctionMocker mock_; }; // The style guide prohibits "using" statements in a namespace scope -- cgit v1.2.3