diff options
author | Gennadiy Civil <misterg@google.com> | 2019-02-13 16:56:42 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2019-02-13 16:56:43 (GMT) |
commit | ea43be9d1a781b73dbd573954ee4a371c233a583 (patch) | |
tree | 98397c6f50eae6e098aab4995b6b674ca2053e3b /googletest | |
parent | e5e846da7fda1c6bc764091000a16e12dc8f8a35 (diff) | |
parent | ed2fe122f8dc9aca844d724986d1d5cf5b65ea4e (diff) | |
download | googletest-ea43be9d1a781b73dbd573954ee4a371c233a583.zip googletest-ea43be9d1a781b73dbd573954ee4a371c233a583.tar.gz googletest-ea43be9d1a781b73dbd573954ee4a371c233a583.tar.bz2 |
Merge pull request #2119 from ngie-eign:clang-wunused-private-field
PiperOrigin-RevId: 233762751
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/test/googletest-param-test-test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/googletest/test/googletest-param-test-test.cc b/googletest/test/googletest-param-test-test.cc index 2ab9b1b..6c187df 100644 --- a/googletest/test/googletest-param-test-test.cc +++ b/googletest/test/googletest-param-test-test.cc @@ -964,6 +964,8 @@ INSTANTIATE_TEST_SUITE_P(StatefulNamingFunctor, StatefulNamingTest, Range(0, 5), class Unstreamable { public: explicit Unstreamable(int value) : value_(value) {} + // -Wunused-private-field: dummy accessor for `value_`. + const int& dummy_value() const { return value_; } private: int value_; |