Commit 7174de0d authored by Victor Zverovich's avatar Victor Zverovich

Fix contexpr-ness of pointer_from

parent 3785afc5
......@@ -832,7 +832,7 @@ class null_terminating_iterator {
return ptr_ >= other.ptr_;
}
friend const Char *pointer_from<Char>(null_terminating_iterator it);
friend constexpr const Char *pointer_from<Char>(null_terminating_iterator it);
private:
const Char *ptr_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment