forked from OctaForge/libostd
noexcept range ctor
This commit is contained in:
parent
16518fcc83
commit
3d8dbcbab2
|
@ -568,7 +568,7 @@ namespace detail {
|
|||
using size_type = std::size_t;
|
||||
|
||||
path_range() = delete;
|
||||
path_range(path const &p): p_rest(p.string()) {
|
||||
path_range(path const &p) noexcept: p_rest(p.string()) {
|
||||
string_range drive = p.drive();
|
||||
if (!drive.empty()) {
|
||||
p_current = p.anchor();
|
||||
|
|
Loading…
Reference in a new issue