diff options
| author | Gennadiy Civil <misterg@google.com> | 2019-02-13 11:56:42 -0500 |
|---|---|---|
| committer | Gennadiy Civil <misterg@google.com> | 2019-02-13 11:56:43 -0500 |
| commit | ea43be9d1a781b73dbd573954ee4a371c233a583 (patch) | |
| tree | 98397c6f50eae6e098aab4995b6b674ca2053e3b /googlemock | |
| parent | e5e846da7fda1c6bc764091000a16e12dc8f8a35 (diff) | |
| parent | ed2fe122f8dc9aca844d724986d1d5cf5b65ea4e (diff) | |
| download | googletest-ea43be9d1a781b73dbd573954ee4a371c233a583.tar.gz googletest-ea43be9d1a781b73dbd573954ee4a371c233a583.tar.bz2 googletest-ea43be9d1a781b73dbd573954ee4a371c233a583.zip | |
Merge pull request #2119 from ngie-eign:clang-wunused-private-field
PiperOrigin-RevId: 233762751
Diffstat (limited to 'googlemock')
| -rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index c2f1d0ad..cdca2300 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -982,6 +982,8 @@ class Unprintable { Unprintable() : c_('a') {} bool operator==(const Unprintable& /* rhs */) const { return true; } + // -Wunused-private-field: dummy accessor for `c_`. + char dummy_c() { return c_; } private: char c_; }; |
