aboutsummaryrefslogtreecommitdiff
path: root/include/Path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Path.hpp')
-rw-r--r--include/Path.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Path.hpp b/include/Path.hpp
index bb08cc6..67e6942 100644
--- a/include/Path.hpp
+++ b/include/Path.hpp
@@ -10,6 +10,7 @@ namespace QuickMedia {
Path(const char *path) : data(path) {}
Path(const std::string &path) : data(path) {}
+ // TODO: Return a copy instead? makes it easier to use. Do the same for append
Path& join(const Path &other) {
data += "/";
data += other.data;