summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeWatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/InodeWatcher.cpp')
-rw-r--r--Kernel/FileSystem/InodeWatcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/InodeWatcher.cpp b/Kernel/FileSystem/InodeWatcher.cpp
index e3563f599b..e2a033ec14 100644
--- a/Kernel/FileSystem/InodeWatcher.cpp
+++ b/Kernel/FileSystem/InodeWatcher.cpp
@@ -22,7 +22,7 @@ InodeWatcher::~InodeWatcher()
(void)close();
}
-bool InodeWatcher::can_read(const OpenFileDescription&, u64) const
+bool InodeWatcher::can_read(OpenFileDescription const&, u64) const
{
MutexLocker locker(m_lock);
return !m_queue.is_empty();
@@ -81,7 +81,7 @@ ErrorOr<void> InodeWatcher::close()
return {};
}
-ErrorOr<NonnullOwnPtr<KString>> InodeWatcher::pseudo_path(const OpenFileDescription&) const
+ErrorOr<NonnullOwnPtr<KString>> InodeWatcher::pseudo_path(OpenFileDescription const&) const
{
return KString::formatted("InodeWatcher:({})", m_wd_to_watches.size());
}