aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-09 16:05:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-09 16:05:42 +0200
commit254ae3cdcfc3d729aa102c6340c431c4060c8ca4 (patch)
tree2d123a1698a4500a11af89feb8d2b6ba06112e8a /libbutl/path.mxx
parentb726efcfd9462255d1ff2eedb9e9cdcb9f85b8b2 (diff)
Minor comment
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;