uri: use old style constructors for pqf return value
This fixes compilation errors under clang-13
This commit is contained in:
parent
19d4ce61da
commit
4af3f5df31
5
uri.hpp
5
uri.hpp
@ -103,8 +103,13 @@ namespace cruft {
|
|||||||
std::string_view
|
std::string_view
|
||||||
pqf (void) const& {
|
pqf (void) const& {
|
||||||
return {
|
return {
|
||||||
|
m_views[PATH].begin (),
|
||||||
|
std::size_t (
|
||||||
|
std::distance (
|
||||||
m_views[PATH].begin (),
|
m_views[PATH].begin (),
|
||||||
m_views[FRAGMENT].end ()
|
m_views[FRAGMENT].end ()
|
||||||
|
)
|
||||||
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user