aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof KosiƄski <krzysio@google.com>2022-09-24 04:18:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-09-24 04:18:05 +0000
commitaee799429fa0d285a0085906909c58e3b042cf56 (patch)
treec707cc7e17c7045ed5c3b0a57421b4a4be9bf849
parentb65bccc562941a6616d548003f5e4fac4a3a7b9b (diff)
parentd1c0bf9c99f0517f0ee626ec5a73ebade6c362b0 (diff)
downloadabseil-cpp-aee799429fa0d285a0085906909c58e3b042cf56.tar.gz
Ensure that absl::any, etc. always alias std types. am: 8414c50ffd am: d1c0bf9c99
Original change: https://android-review.googlesource.com/c/platform/external/abseil-cpp/+/2229230 Change-Id: Iba8875548bc883b332f42c6cf40ff49f5dc3f6af Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--absl/base/options.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/absl/base/options.h b/absl/base/options.h
index bc598470..85d235d8 100644
--- a/absl/base/options.h
+++ b/absl/base/options.h
@@ -100,7 +100,7 @@
// User code should not inspect this macro. To check in the preprocessor if
// absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY.
-#define ABSL_OPTION_USE_STD_ANY 2
+#define ABSL_OPTION_USE_STD_ANY 1
// ABSL_OPTION_USE_STD_OPTIONAL
@@ -127,7 +127,7 @@
// absl::optional is a typedef of std::optional, use the feature macro
// ABSL_USES_STD_OPTIONAL.
-#define ABSL_OPTION_USE_STD_OPTIONAL 2
+#define ABSL_OPTION_USE_STD_OPTIONAL 1
// ABSL_OPTION_USE_STD_STRING_VIEW
@@ -154,7 +154,7 @@
// absl::string_view is a typedef of std::string_view, use the feature macro
// ABSL_USES_STD_STRING_VIEW.
-#define ABSL_OPTION_USE_STD_STRING_VIEW 2
+#define ABSL_OPTION_USE_STD_STRING_VIEW 1
// ABSL_OPTION_USE_STD_VARIANT
//
@@ -180,7 +180,7 @@
// absl::variant is a typedef of std::variant, use the feature macro
// ABSL_USES_STD_VARIANT.
-#define ABSL_OPTION_USE_STD_VARIANT 2
+#define ABSL_OPTION_USE_STD_VARIANT 1
// ABSL_OPTION_USE_INLINE_NAMESPACE