-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch for absl to ignore deprecated error.
- Loading branch information
1 parent
fe09d61
commit 494ed83
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/absl/meta/type_traits.h b/absl/meta/type_traits.h | ||
index d886cb30..9716c7b9 100644 | ||
--- a/absl/meta/type_traits.h | ||
+++ b/absl/meta/type_traits.h | ||
@@ -35,6 +35,10 @@ | ||
#ifndef ABSL_META_TYPE_TRAITS_H_ | ||
#define ABSL_META_TYPE_TRAITS_H_ | ||
|
||
+// Added by firestore-ios-sdk/cmake/external/abseil-cpp.patch.txt. | ||
+#pragma clang diagnostic push | ||
+#pragma clang diagnostic ignored "-Wdeprecated" | ||
+ | ||
#include <cstddef> | ||
#include <functional> | ||
#include <type_traits> | ||
@@ -794,4 +798,6 @@ using swap_internal::StdSwapIsUnconstrained; | ||
ABSL_NAMESPACE_END | ||
} // namespace absl | ||
|
||
+#pragma clang diagnostic pop | ||
+ | ||
#endif // ABSL_META_TYPE_TRAITS_H_ |