Fix contexpr-ness of pointer_from

This commit is contained in:
Victor Zverovich 2017-10-18 06:36:08 -07:00
parent 3785afc5a3
commit 7174de0d79

View File

@ -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_;