aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/include
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-08-01 11:33:36 +0200
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-08-01 11:33:36 +0200
commit637b0411fa5037f3a618e459f0145bd6d3e29d36 (patch)
tree965e826e3f75ffc024d6ffa358359bcedf5edadb /googlemock/include
parent9311242db422dd6f24c8e764847fe5d70d0d4859 (diff)
downloadgoogletest-637b0411fa5037f3a618e459f0145bd6d3e29d36.tar.gz
googletest-637b0411fa5037f3a618e459f0145bd6d3e29d36.tar.bz2
googletest-637b0411fa5037f3a618e459f0145bd6d3e29d36.zip
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.
Diffstat (limited to 'googlemock/include')
-rw-r--r--googlemock/include/gmock/gmock-spec-builders.h2
1 files changed, 1 insertions, 1 deletions
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<R(Args...)> {
}
private:
- mutable internal::FunctionMocker<R(Args...)> mock_;
+ internal::FunctionMocker<R(Args...)> mock_;
};
// The style guide prohibits "using" statements in a namespace scope