From 3a18a6dcab45467e779e91c7b346aa3b148e8b9c Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 1 Oct 2024 23:04:25 -0500 Subject: Fix move assignment operators or delete them to prevent leaks. --- include/fud_directory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fud_directory.hpp') 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; -- cgit v1.2.3