From eaf6c22bf411b07c17d204a7345fc62833120b0b Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 5 Dec 2019 14:16:04 -0800 Subject: Add a default copy constructor for -Wdeprecated-copy warnings. --- llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/utils/unittest/googlemock/include/gmock') diff --git a/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h b/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h index ec8c237e254..865cdc7da10 100644 --- a/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h +++ b/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h @@ -3589,6 +3589,8 @@ class BoundSecondMatcher { GTEST_LOG_(FATAL) << "BoundSecondMatcher should never be assigned."; } + BoundSecondMatcher(const BoundSecondMatcher &) = default; + private: template class Impl : public MatcherInterface { -- cgit v1.2.3