diff options
Diffstat (limited to 'AK/FileSystemPath.h')
-rw-r--r-- | AK/FileSystemPath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/FileSystemPath.h b/AK/FileSystemPath.h index d985baded1..4e09386ed7 100644 --- a/AK/FileSystemPath.h +++ b/AK/FileSystemPath.h @@ -10,9 +10,9 @@ public: explicit FileSystemPath(const StringView&); bool is_valid() const { return m_is_valid; } - String string() const { return m_string; } + const String& string() const { return m_string; } - String basename() const { return m_basename; } + const String& basename() const { return m_basename; } const Vector<String>& parts() const { return m_parts; } |