diff options
author | Derek Mauro <dmauro@google.com> | 2022-04-22 18:25:26 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-04-22 18:26:03 (GMT) |
commit | bf66935e07825318ae519675d73d0f3e313b3ec6 (patch) | |
tree | d23875e66696f765c265fc1a1df5a594490507e0 /googlemock/test/gmock-matchers-arithmetic_test.cc | |
parent | b85864c64758dec007208e56af933fc3f52044ee (diff) | |
download | googletest-bf66935e07825318ae519675d73d0f3e313b3ec6.zip googletest-bf66935e07825318ae519675d73d0f3e313b3ec6.tar.gz googletest-bf66935e07825318ae519675d73d0f3e313b3ec6.tar.bz2 |
Remove the legacy internal GTEST_DISALLOW_* macros
PiperOrigin-RevId: 443715444
Change-Id: I3ffd54b63d2728ae4a668ee7875c8c3c8188087c
Diffstat (limited to 'googlemock/test/gmock-matchers-arithmetic_test.cc')
-rw-r--r-- | googlemock/test/gmock-matchers-arithmetic_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/googlemock/test/gmock-matchers-arithmetic_test.cc b/googlemock/test/gmock-matchers-arithmetic_test.cc index 9c36dd2..ef53baa 100644 --- a/googlemock/test/gmock-matchers-arithmetic_test.cc +++ b/googlemock/test/gmock-matchers-arithmetic_test.cc @@ -955,7 +955,8 @@ class AllArgsHelper { MOCK_METHOD2(Helper, int(char x, int y)); private: - GTEST_DISALLOW_COPY_AND_ASSIGN_(AllArgsHelper); + AllArgsHelper(const AllArgsHelper&) = delete; + AllArgsHelper& operator=(const AllArgsHelper&) = delete; }; TEST(AllArgsTest, WorksInWithClause) { @@ -982,7 +983,8 @@ class OptionalMatchersHelper { MOCK_METHOD2(Overloaded, int(char x, int y)); private: - GTEST_DISALLOW_COPY_AND_ASSIGN_(OptionalMatchersHelper); + OptionalMatchersHelper(const OptionalMatchersHelper&) = delete; + OptionalMatchersHelper& operator=(const OptionalMatchersHelper&) = delete; }; TEST(AllArgsTest, WorksWithoutMatchers) { |