aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/path.mxx')
-rw-r--r--libbutl/path.mxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbutl/path.mxx b/libbutl/path.mxx
index b9df945..dfc634b 100644
--- a/libbutl/path.mxx
+++ b/libbutl/path.mxx
@@ -775,9 +775,9 @@ LIBBUTL_MODEXPORT namespace butl
basic_path&
make_leaf ();
- // Return the path without the specified directory part. Throws
- // invalid_path if the directory is not a prefix of *this. Expects both
- // paths to be normalized.
+ // Return the path without the specified directory part. Returns empty
+ // path if the paths are the same. Throws invalid_path if the directory is
+ // not a prefix of *this. Expects both paths to be normalized.
//
basic_path
leaf (basic_path const&) const;