mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
Kernel: Use range-for wherever possible
This commit is contained in:
parent
c6fafd3e90
commit
949ea9cb4a
3 changed files with 4 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue