summaryrefslogtreecommitdiff
path: root/include/fud_directory.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-01 23:04:25 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-01 23:04:25 -0500
commit3a18a6dcab45467e779e91c7b346aa3b148e8b9c (patch)
treeba0d7d521179c2d3fbd7d989eb2033cd2a86dbaf /include/fud_directory.hpp
parent4ef88103f74a3a6e8e36ae9eff80f641e20bd1a1 (diff)
Fix move assignment operators or delete them to prevent leaks.
Diffstat (limited to 'include/fud_directory.hpp')
-rw-r--r--include/fud_directory.hpp2
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;