1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

Kernel: Some clang-tidy fixes in Bus/VirtIO

This commit is contained in:
Hendiadyoin1 2021-12-08 14:00:18 +01:00 committed by Brian Gianforcaro
parent 471b38db68
commit 9be409585c
5 changed files with 11 additions and 9 deletions

View file

@ -121,7 +121,7 @@ protected:
const Configuration* get_config(ConfigurationType cfg_type, u32 index = 0) const
{
for (auto& cfg : m_configs) {
for (auto const& cfg : m_configs) {
if (cfg.cfg_type != cfg_type)
continue;
if (index > 0) {