aboutsummaryrefslogtreecommitdiff
path: root/kernel/filesystem/src/custody.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/filesystem/src/custody.cpp')
-rw-r--r--kernel/filesystem/src/custody.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/filesystem/src/custody.cpp b/kernel/filesystem/src/custody.cpp
index 7a58229..3a87345 100644
--- a/kernel/filesystem/src/custody.cpp
+++ b/kernel/filesystem/src/custody.cpp
@@ -8,7 +8,7 @@
namespace filesystem
{
- custody::custody(kstd::shared_ptr<custody> parent, kstd::shared_ptr<inode> node)
+ custody::custody(kstd::shared_ptr<custody> const & parent, kstd::shared_ptr<inode> const & node)
: m_parent(parent)
, m_inode(node)
{
@@ -18,12 +18,12 @@ namespace filesystem
}
}
- auto custody::get_inode() const -> kstd::shared_ptr<inode>
+ auto custody::get_inode() const -> kstd::shared_ptr<inode> const &
{
return m_inode;
}
- auto custody::get_parent() const -> kstd::shared_ptr<custody>
+ auto custody::get_parent() const -> kstd::shared_ptr<custody> const &
{
return m_parent;
}