From fb9b318a77ad9364aa2303679c0b84d2d1bdb055 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 4 Jul 2018 22:22:57 +0300 Subject: Fix broken path::make_base() --- libbutl/path.ixx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbutl/path.ixx') 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. // -- cgit v1.1