1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

Kernel: Fix some clang-tidy warnings in PCI::Access

This commit is contained in:
Hendiadyoin1 2021-12-08 13:43:38 +01:00 committed by Brian Gianforcaro
parent 19ba32651d
commit 73aa5c75d5
2 changed files with 1 additions and 2 deletions

View file

@ -458,7 +458,7 @@ void Access::fast_enumerate(Function<void(DeviceIdentifier const&)>& callback) c
{
MutexLocker locker(m_access_lock);
VERIFY(!m_device_identifiers.is_empty());
for (auto& device_identifier : m_device_identifiers) {
for (auto const& device_identifier : m_device_identifiers) {
callback(device_identifier);
}
}