diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-04 22:22:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-04 22:22:57 +0300 |
commit | fb9b318a77ad9364aa2303679c0b84d2d1bdb055 (patch) | |
tree | e785748810ce8a493ea53ae58657e3a590375777 | |
parent | 62c037c69c36f305609521238f62d002bfc12b75 (diff) |
Fix broken path::make_base()
-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 d262adb..b7dca3e 100644 --- a/libbutl/path.ixx +++ b/libbutl/path.ixx @@ -349,7 +349,7 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. if (p != string_type::npos) { - s.resize (0, p); + s.resize (p); // Keep the original tsep unless the path became empty. // |