From 7174de0d79093c7e1b011e18af4b756a74a06561 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 18 Oct 2017 06:36:08 -0700 Subject: [PATCH] Fix contexpr-ness of pointer_from --- fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_;