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

@ -104,7 +104,12 @@ namespace cruft {
pqf (void) const& {
return {
m_views[PATH].begin (),
m_views[FRAGMENT].end ()
std::size_t (
std::distance (
m_views[PATH].begin (),
m_views[FRAGMENT].end ()
)
)
};
}