From e420eca2b244c303af51534ab09632045a186b21 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 3 Oct 2024 08:07:05 -0500 Subject: Cleanup from clang-tidy. --- include/fud_directory.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/fud_directory.hpp') diff --git a/include/fud_directory.hpp b/include/fud_directory.hpp index cd3576e..ca94528 100644 --- a/include/fud_directory.hpp +++ b/include/fud_directory.hpp @@ -91,12 +91,12 @@ struct DirectoryEntry { class Directory { public: - explicit Directory(String name); + explicit Directory(const String& name); Directory(const Directory& rhs) = delete; - Directory(Directory&& rhs); + Directory(Directory&& rhs) noexcept; ~Directory(); Directory& operator=(const Directory& rhs) = delete; - Directory& operator=(Directory&& rhs) = delete; + Directory& operator=(Directory&& rhs) noexcept = delete; constexpr const String& name() const { return m_name; -- cgit v1.2.3