diff options
author | David Robillard <d@drobilla.net> | 2006-09-09 21:42:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-09 21:42:33 +0000 |
commit | a90181962d3f9eca3e00f665465bbd66bdd79927 (patch) | |
tree | bcebc1dc25b788cbd647f70068cd6d1ff40ac722 /src/common | |
parent | fca95e5d454d37bd74b98f5bce35cfcbaee86c3f (diff) | |
download | ingen-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.h | 5 |
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; |