diff options
Diffstat (limited to 'libbutl/path.ixx')
-rw-r--r-- | libbutl/path.ixx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/path.ixx b/libbutl/path.ixx index b754bed..aef38eb 100644 --- a/libbutl/path.ixx +++ b/libbutl/path.ixx @@ -423,7 +423,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. // switch (ts) { - case 0: if (!l.empty ()) throw invalid_basic_path<C> (l); break; + case 0: if (!l.empty ()) l += path_traits<C>::directory_separator; break; case -1: break; // Already in the string. default: l += path_traits<C>::directory_separators[ts - 1]; } |