diff --git a/fmt/format.h b/fmt/format.h index 7d88a3a2..800daa95 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -832,7 +832,7 @@ class null_terminating_iterator { return ptr_ >= other.ptr_; } - friend const Char *pointer_from(null_terminating_iterator it); + friend constexpr const Char *pointer_from(null_terminating_iterator it); private: const Char *ptr_;