diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-04 13:55:22 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-04 13:55:22 +0000 |
| commit | c887e22cd7827ae53fd3eab6f5af41969cdd616c (patch) | |
| tree | a53f5ff4ec81048d1d8b5f0e58ba446c48683ba6 /arch/x86_64/src | |
| parent | 30466aeb3da181c21bd451f32c1ff97e53a55dbc (diff) | |
| download | teachos-c887e22cd7827ae53fd3eab6f5af41969cdd616c.tar.xz teachos-c887e22cd7827ae53fd3eab6f5af41969cdd616c.zip | |
Use auto where possible
Diffstat (limited to 'arch/x86_64/src')
| -rw-r--r-- | arch/x86_64/src/memory/paging/page_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/paging/page_table.cpp b/arch/x86_64/src/memory/paging/page_table.cpp index 3c9942a..a39c235 100644 --- a/arch/x86_64/src/memory/paging/page_table.cpp +++ b/arch/x86_64/src/memory/paging/page_table.cpp @@ -46,7 +46,7 @@ namespace teachos::arch::memory::paging auto page_table::zero_entries() -> void { - std::ranges::for_each(entries, [](entry & entry) { entry.set_unused(); }); + std::ranges::for_each(entries, [](auto & entry) { entry.set_unused(); }); } auto page_table::is_empty() const -> bool |
