about summary refs log tree commit diff
path: root/absl/base/casts.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/casts.h')
-rw-r--r--absl/base/casts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/casts.h b/absl/base/casts.h
index 20fd34da7010..1eef6a616d6b 100644
--- a/absl/base/casts.h
+++ b/absl/base/casts.h
@@ -105,7 +105,7 @@ struct is_bitcastable
 //
 // Such implicit cast chaining may be useful within template logic.
 template <typename To>
-inline To implicit_cast(typename absl::internal::identity_t<To> to) {
+constexpr To implicit_cast(typename absl::internal::identity_t<To> to) {
   return to;
 }