summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI/Definitions.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Bus/PCI/Definitions.h')
-rw-r--r--Kernel/Bus/PCI/Definitions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/Definitions.h b/Kernel/Bus/PCI/Definitions.h
index 08edcf6cc9..f2ec09dd0c 100644
--- a/Kernel/Bus/PCI/Definitions.h
+++ b/Kernel/Bus/PCI/Definitions.h
@@ -198,7 +198,7 @@ public:
, m_capabilities(capabilities)
{
if constexpr (PCI_DEBUG) {
- for (auto capability : capabilities)
+ for (const auto& capability : capabilities)
dbgln("{} has capability {}", address, capability.id());
}
}