summaryrefslogtreecommitdiff
path: root/abseil-cpp/absl/base/internal/fast_type_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'abseil-cpp/absl/base/internal/fast_type_id.h')
-rw-r--r--abseil-cpp/absl/base/internal/fast_type_id.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/abseil-cpp/absl/base/internal/fast_type_id.h b/abseil-cpp/absl/base/internal/fast_type_id.h
index 3db59e8..a547b3a 100644
--- a/abseil-cpp/absl/base/internal/fast_type_id.h
+++ b/abseil-cpp/absl/base/internal/fast_type_id.h
@@ -28,8 +28,10 @@ struct FastTypeTag {
constexpr static char dummy_var = 0;
};
+#ifdef ABSL_INTERNAL_NEED_REDUNDANT_CONSTEXPR_DECL
template <typename Type>
constexpr char FastTypeTag<Type>::dummy_var;
+#endif
// FastTypeId<Type>() evaluates at compile/link-time to a unique pointer for the
// passed-in type. These are meant to be good match for keys into maps or