From a90181962d3f9eca3e00f665465bbd66bdd79927 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Sep 2006 21:42:33 +0000 Subject: Canvas cleanups, bugfixes, more robustness, etc. git-svn-id: http://svn.drobilla.net/lad/ingen@124 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/util/Path.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common/util/Path.h') diff --git a/src/common/util/Path.h b/src/common/util/Path.h index 2c4d58b1..197ffd16 100644 --- a/src/common/util/Path.h +++ b/src/common/util/Path.h @@ -195,9 +195,10 @@ public: /** Parent path with a "/" appended. * * Because of the "/" special case, append a child name to base_path() - * to construct a path. + * to construct a path. This return value followed by a valid name is + * guaranteed to be a valid path. */ - inline Path base_path() const + inline string base_path() const { if ((*this) == "/") return *this; -- cgit v1.2.1