aboutsummaryrefslogtreecommitdiff
path: root/kernel/filesystem/src/mount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/filesystem/src/mount.cpp')
-rw-r--r--kernel/filesystem/src/mount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/filesystem/src/mount.cpp b/kernel/filesystem/src/mount.cpp
index 53a8143..021b074 100644
--- a/kernel/filesystem/src/mount.cpp
+++ b/kernel/filesystem/src/mount.cpp
@@ -10,7 +10,7 @@
namespace filesystem
{
- mount::mount(std::string_view const & path, kstd::shared_ptr<filesystem> fs)
+ mount::mount(std::string_view const & path, kstd::shared_ptr<filesystem> const & fs)
: m_path(path)
, m_filesystem(fs)
{
@@ -25,7 +25,7 @@ namespace filesystem
return m_path;
}
- auto mount::get_filesystem() const -> kstd::shared_ptr<filesystem>
+ auto mount::get_filesystem() const -> kstd::shared_ptr<filesystem> const &
{
return m_filesystem;
}