diff options
author | Tom Hughes <tomhughes@google.com> | 2023-04-21 17:40:36 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-04-21 17:41:25 (GMT) |
commit | 783d00fd19865fcbc3065e3fb3e17144761fcf5a (patch) | |
tree | bb27246918f3fcdea0cb619a37ac43ccb1abeac0 /googlemock/test/gmock-cardinalities_test.cc | |
parent | baf182e006bcb82ef5e0b407e350a1d4c444b76a (diff) | |
download | googletest-783d00fd19865fcbc3065e3fb3e17144761fcf5a.zip googletest-783d00fd19865fcbc3065e3fb3e17144761fcf5a.tar.gz googletest-783d00fd19865fcbc3065e3fb3e17144761fcf5a.tar.bz2 |
Use '=default' to define trivial constructor/destructorsrefs/pull/4221/head
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html
PiperOrigin-RevId: 526079054
Change-Id: Ia4db21e3e5f58b90de05d52fd94b291ed06d785d
Diffstat (limited to 'googlemock/test/gmock-cardinalities_test.cc')
-rw-r--r-- | googlemock/test/gmock-cardinalities_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-cardinalities_test.cc b/googlemock/test/gmock-cardinalities_test.cc index 77196d7..ad49752 100644 --- a/googlemock/test/gmock-cardinalities_test.cc +++ b/googlemock/test/gmock-cardinalities_test.cc @@ -52,7 +52,7 @@ using testing::MakeCardinality; class MockFoo { public: - MockFoo() {} + MockFoo() = default; MOCK_METHOD0(Bar, int()); // NOLINT private: |