|
| 1 | +# Force internal versions of std classes per |
| 2 | +# https://abseil.io/docs/cpp/guides/options |
| 3 | +diff --git a/absl/base/options.h b/absl/base/options.h |
| 4 | +index 230bf1e..6e1b9e5 100644 |
| 5 | +--- a/absl/base/options.h |
| 6 | ++++ b/absl/base/options.h |
| 7 | +@@ -100,7 +100,7 @@ |
| 8 | + // User code should not inspect this macro. To check in the preprocessor if |
| 9 | + // absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY. |
| 10 | + |
| 11 | +-#define ABSL_OPTION_USE_STD_ANY 2 |
| 12 | ++#define ABSL_OPTION_USE_STD_ANY 0 |
| 13 | + |
| 14 | + |
| 15 | + // ABSL_OPTION_USE_STD_OPTIONAL |
| 16 | +@@ -127,7 +127,7 @@ |
| 17 | + // absl::optional is a typedef of std::optional, use the feature macro |
| 18 | + // ABSL_USES_STD_OPTIONAL. |
| 19 | + |
| 20 | +-#define ABSL_OPTION_USE_STD_OPTIONAL 2 |
| 21 | ++#define ABSL_OPTION_USE_STD_OPTIONAL 0 |
| 22 | + |
| 23 | + |
| 24 | + // ABSL_OPTION_USE_STD_STRING_VIEW |
| 25 | +@@ -154,7 +154,7 @@ |
| 26 | + // absl::string_view is a typedef of std::string_view, use the feature macro |
| 27 | + // ABSL_USES_STD_STRING_VIEW. |
| 28 | + |
| 29 | +-#define ABSL_OPTION_USE_STD_STRING_VIEW 2 |
| 30 | ++#define ABSL_OPTION_USE_STD_STRING_VIEW 0 |
| 31 | + |
| 32 | + // ABSL_OPTION_USE_STD_VARIANT |
| 33 | + // |
| 34 | +@@ -180,7 +180,7 @@ |
| 35 | + // absl::variant is a typedef of std::variant, use the feature macro |
| 36 | + // ABSL_USES_STD_VARIANT. |
| 37 | + |
| 38 | +-#define ABSL_OPTION_USE_STD_VARIANT 2 |
| 39 | ++#define ABSL_OPTION_USE_STD_VARIANT 0 |
| 40 | + |
| 41 | + |
| 42 | + // ABSL_OPTION_USE_INLINE_NAMESPACE |
0 commit comments