diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-01 23:04:25 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-01 23:04:25 -0500 |
commit | 3a18a6dcab45467e779e91c7b346aa3b148e8b9c (patch) | |
tree | ba0d7d521179c2d3fbd7d989eb2033cd2a86dbaf /include/fud_directory.hpp | |
parent | 4ef88103f74a3a6e8e36ae9eff80f641e20bd1a1 (diff) |
Fix move assignment operators or delete them to prevent leaks.
Diffstat (limited to 'include/fud_directory.hpp')
-rw-r--r-- | include/fud_directory.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fud_directory.hpp b/include/fud_directory.hpp index e6052c4..cd3576e 100644 --- a/include/fud_directory.hpp +++ b/include/fud_directory.hpp @@ -96,7 +96,7 @@ class Directory { Directory(Directory&& rhs); ~Directory(); Directory& operator=(const Directory& rhs) = delete; - Directory& operator=(Directory&& rhs); + Directory& operator=(Directory&& rhs) = delete; constexpr const String& name() const { return m_name; |