diff options
Diffstat (limited to 'include/fud_directory.hpp')
-rw-r--r-- | include/fud_directory.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fud_directory.hpp b/include/fud_directory.hpp index e935950..d7f6b1f 100644 --- a/include/fud_directory.hpp +++ b/include/fud_directory.hpp @@ -99,11 +99,11 @@ class Directory { Directory& operator=(const Directory& rhs) = delete; Directory& operator=(Directory&& rhs) noexcept = delete; - constexpr const String& name() const { + [[nodiscard]] constexpr const String& name() const { return m_name; } - constexpr int errorCode() const + [[nodiscard]] constexpr int errorCode() const { return m_errorCode; } |