mirror of
https://github.com/boostorg/filesystem.git
synced 2026-02-01 08:32:08 +00:00
Change the name of path::relative to path::relative_to to distinguish it a bit from path::relative_path.
This commit is contained in:
@@ -405,9 +405,9 @@ namespace filesystem
|
||||
}
|
||||
return std::make_pair(it1, it2);
|
||||
}
|
||||
}
|
||||
} // namespace detail
|
||||
|
||||
path path::relative(const path& base) const
|
||||
path path::relative_to(const path& base) const
|
||||
{
|
||||
std::pair<path::iterator, path::iterator> mm
|
||||
= detail::mismatch(begin(), end(), base.begin(), base.end());
|
||||
|
||||
Reference in New Issue
Block a user