aboutsummaryrefslogtreecommitdiff
path: root/cutl/fs/path.txx
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/fs/path.txx')
-rw-r--r--cutl/fs/path.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cutl/fs/path.txx b/cutl/fs/path.txx
index caff259..ff5095b 100644
--- a/cutl/fs/path.txx
+++ b/cutl/fs/path.txx
@@ -70,7 +70,7 @@ namespace cutl
operator/ (basic_path<C> const& r)
{
if (r.path_.empty ())
- throw invalid_path ();
+ throw invalid_basic_path<C> (r.path_);
basic_path<C> x (*this);
x.path_ += '/';
@@ -83,7 +83,7 @@ namespace cutl
init (bool internal)
{
if (!internal && path_.empty ())
- throw invalid_path ();
+ throw invalid_basic_path<C> (path_);
// Strip trailing slashes. This way empty string represents
// root directory.