From 254ae3cdcfc3d729aa102c6340c431c4060c8ca4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Mar 2018 16:05:42 +0200 Subject: Minor comment --- libbutl/path.mxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbutl/path.mxx') 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; -- cgit v1.1