summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-09 21:42:33 +0000
committerDavid Robillard <d@drobilla.net>2006-09-09 21:42:33 +0000
commita90181962d3f9eca3e00f665465bbd66bdd79927 (patch)
treebcebc1dc25b788cbd647f70068cd6d1ff40ac722 /src/common
parentfca95e5d454d37bd74b98f5bce35cfcbaee86c3f (diff)
downloadingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.gz
ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.bz2
ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.zip
Canvas cleanups, bugfixes, more robustness, etc.
git-svn-id: http://svn.drobilla.net/lad/ingen@124 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util/Path.h5
1 files changed, 3 insertions, 2 deletions
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;