diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-22 04:52:32 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-22 04:52:32 +0200 |
commit | 42ef59ef17cb0a56c6ac1d8f220db7ca461c5411 (patch) | |
tree | 26f875e7e81f2a5cd47afa59e49e7ada729dfa3b /include/Path.hpp | |
parent | 0d8293a5647c2bb10228658f0910515b38ff0d64 (diff) |
Matrix: temporary disable vim keys that interfer with room search, also include embedded item when pressing enter
Diffstat (limited to 'include/Path.hpp')
-rw-r--r-- | include/Path.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/Path.hpp b/include/Path.hpp index 95a5d23..d26f605 100644 --- a/include/Path.hpp +++ b/include/Path.hpp @@ -6,14 +6,9 @@ namespace QuickMedia { class Path { public: Path() = default; - ~Path() = default; - Path(const Path &other) = default; - Path& operator=(const Path &other) = default; + Path(const char *path) : data(path) {} Path(const std::string &path) : data(path) {} - Path(Path &&other) { - data = std::move(other.data); - } Path& join(const Path &other) { data += "/"; |