aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/devices/bus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kapi/devices/bus.cpp')
-rw-r--r--kernel/kapi/devices/bus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kapi/devices/bus.cpp b/kernel/kapi/devices/bus.cpp
index e4b5a2c5..300151d5 100644
--- a/kernel/kapi/devices/bus.cpp
+++ b/kernel/kapi/devices/bus.cpp
@@ -34,7 +34,7 @@ namespace kapi::devices
}
}
- auto bus::add_child(kstd::shared_ptr<device> child) -> void
+ auto bus::add_child(kstd::shared_ptr<device> const & child) -> void
{
{
auto guard = kstd::lock_guard{m_lock};