projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c5629
)
Add PBD::sys::operator/ to pbd/filesystem for convenient path building
author
Tim Mayberry
<mojofunk@gmail.com>
Tue, 4 Sep 2007 09:01:32 +0000
(09:01 +0000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 4 Sep 2007 09:01:32 +0000
(09:01 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2412
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/pbd/pbd/filesystem.h
patch
|
blob
|
history
diff --git
a/libs/pbd/pbd/filesystem.h
b/libs/pbd/pbd/filesystem.h
index 6798a59c84a9d912613d9119f31e44822075f6e6..7ccc451eaccc1554d686386ebfbbde002789256b 100644
(file)
--- a/
libs/pbd/pbd/filesystem.h
+++ b/
libs/pbd/pbd/filesystem.h
@@
-115,6
+115,9
@@
public:
int system_error() const { return m_error_code; }
};
+inline path operator/ (const path& lhs, const path& rhs)
+{ return path(lhs) /= rhs; }
+
/// @return true if path at p exists
bool exists(const path & p);