Remove warrning during compilation gtest 66/240466/3
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Aug 2020 10:59:52 +0000 (12:59 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Wed, 12 Aug 2020 10:37:51 +0000 (12:37 +0200)
Change-Id: I105e5e0ecc492d414cd1781e8d3325ed405681fe

googletest/googlemock/include/gmock/gmock-matchers.h

index 33b37a7a5d665bf28c43dd454d95dba2e5d30182..bebf5afd80f9a92f6d96fbf2dad62f4c6d2b6c10 100644 (file)
@@ -56,6 +56,9 @@
 # include <initializer_list>  // NOLINT -- must be after gtest.h
 #endif
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-copy"
+
 namespace testing {
 
 // To implement a matcher Foo for type T, define:
@@ -4392,6 +4395,8 @@ inline InnerMatcher AllArgs(const InnerMatcher& matcher) { return matcher; }
 
 }  // namespace testing
 
+#pragma GCC diagnostic pop
+
 // Include any custom callback matchers added by the local installation.
 // We must include this header at the end to make sure it can use the
 // declarations from this file.