mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Fix contexpr-ness of pointer_from
This commit is contained in:
parent
3785afc5a3
commit
7174de0d79
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user