diff options
author | David Robillard <d@drobilla.net> | 2020-12-19 12:20:43 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-19 12:20:43 +0100 |
commit | 40f3c3f66f532941ca9576852827d636000f2477 (patch) | |
tree | 18eb788aa336d14d6b90b91aae56e62af83069e2 /include/raul/Symbol.hpp | |
parent | cce18a14f18b1aa63949de77f4f370ba82708cf3 (diff) | |
download | raul-40f3c3f66f532941ca9576852827d636000f2477.tar.gz raul-40f3c3f66f532941ca9576852827d636000f2477.tar.bz2 raul-40f3c3f66f532941ca9576852827d636000f2477.zip |
Clean up special member functions
Diffstat (limited to 'include/raul/Symbol.hpp')
-rw-r--r-- | include/raul/Symbol.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/raul/Symbol.hpp b/include/raul/Symbol.hpp index 4f762f8..35cd39d 100644 --- a/include/raul/Symbol.hpp +++ b/include/raul/Symbol.hpp @@ -69,12 +69,13 @@ public: } } - /** Copy a Symbol. - * - * Note this is faster than constructing a Symbol from another Symbol's - * string since validation is unnecessary. - */ Symbol(const Symbol& symbol) = default; + Symbol& operator=(const Symbol& symbol) = default; + + Symbol(Symbol&& symbol) = default; + Symbol& operator=(Symbol&& symbol) = default; + + ~Symbol() = default; /** Return true iff `c` is a valid Symbol start character. */ static inline bool is_valid_start_char(char c) { |