uri: use old style constructors for pqf return value

This fixes compilation errors under clang-13
This commit is contained in:
Danny Robson 2022-02-17 09:36:39 +10:00
parent 19d4ce61da
commit 4af3f5df31

View File

@ -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 ()
)
)
}; };
} }