diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-08-01 09:33:36 (GMT) |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-08-01 09:33:36 (GMT) |
commit | 637b0411fa5037f3a618e459f0145bd6d3e29d36 (patch) | |
tree | 965e826e3f75ffc024d6ffa358359bcedf5edadb /googlemock/include/gmock | |
parent | 9311242db422dd6f24c8e764847fe5d70d0d4859 (diff) | |
download | googletest-637b0411fa5037f3a618e459f0145bd6d3e29d36.zip googletest-637b0411fa5037f3a618e459f0145bd6d3e29d36.tar.gz googletest-637b0411fa5037f3a618e459f0145bd6d3e29d36.tar.bz2 |
remove an excessive mutable type specifierrefs/pull/2359/head
MockFunction's private member cannot be reached from outside and all its
non-static member functions are not const.
Diffstat (limited to 'googlemock/include/gmock')
-rw-r--r-- | googlemock/include/gmock/gmock-spec-builders.h | 2 |
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 81ee345..735a3bc 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 |