diff options
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 += "/"; |