From 3d8dbcbab2b7b013a342af7326bc6cbbc1e8f62e Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 15 Apr 2018 18:57:23 +0200 Subject: [PATCH] noexcept range ctor --- ostd/path.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ostd/path.hh b/ostd/path.hh index fa3ed1a..6262f89 100644 --- a/ostd/path.hh +++ b/ostd/path.hh @@ -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();