clang format fix

This commit is contained in:
georgemoralis 2024-07-17 17:57:54 +03:00
parent 1208661d64
commit 439c0be9a6
4 changed files with 13 additions and 17 deletions

View file

@ -165,9 +165,8 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file) {
found_modules.push_back(entry.path());
}
for (const auto& [module_name, init_func] : ModulesToLoad) {
const auto it = std::ranges::find_if(found_modules, [&](const auto& path) {
return path.filename() == module_name;
});
const auto it = std::ranges::find_if(
found_modules, [&](const auto& path) { return path.filename() == module_name; });
if (it != found_modules.end()) {
LOG_INFO(Loader, "Loading {}", it->string());
linker->LoadModule(*it);