summaryrefslogtreecommitdiffstats
path: root/include/raul/Path.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-19 12:20:43 +0100
committerDavid Robillard <d@drobilla.net>2020-12-19 12:20:43 +0100
commit40f3c3f66f532941ca9576852827d636000f2477 (patch)
tree18eb788aa336d14d6b90b91aae56e62af83069e2 /include/raul/Path.hpp
parentcce18a14f18b1aa63949de77f4f370ba82708cf3 (diff)
downloadraul-40f3c3f66f532941ca9576852827d636000f2477.tar.gz
raul-40f3c3f66f532941ca9576852827d636000f2477.tar.bz2
raul-40f3c3f66f532941ca9576852827d636000f2477.zip
Clean up special member functions
Diffstat (limited to 'include/raul/Path.hpp')
-rw-r--r--include/raul/Path.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/raul/Path.hpp b/include/raul/Path.hpp
index 4fb3da1..984d95b 100644
--- a/include/raul/Path.hpp
+++ b/include/raul/Path.hpp
@@ -70,12 +70,13 @@ public:
}
}
- /** Copy a Path.
- *
- * Note this is faster than constructing a Path from another Path's string
- * since validation is unnecessary.
- */
Path(const Path& path) = default;
+ Path& operator=(const Path& path) = default;
+
+ Path(Path&& path) = default;
+ Path& operator=(Path&& path) = default;
+
+ ~Path() = default;
/** Return true iff `c` is a valid Path character. */
static inline bool is_valid_char(char c) {