diff options
author | Hendiadyoin1 <leon2002.la@gmail.com> | 2021-12-22 16:20:22 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-23 12:45:36 -0800 |
commit | 15daae468b7a2e32f19f32ef017048f374656dc0 (patch) | |
tree | fa0a681fd09e356e02f38744f541a181d59b54c5 /Userland/DevTools/UserspaceEmulator/Emulator.cpp | |
parent | bf714efa4116fc686a196386779a428b3b22d993 (diff) | |
download | serenity-15daae468b7a2e32f19f32ef017048f374656dc0.zip |
UserspaceEmulator: Add some implied auto qualifiers
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/Emulator.cpp')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/Emulator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.cpp b/Userland/DevTools/UserspaceEmulator/Emulator.cpp index 85005bd349..49fbc01dd1 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator.cpp +++ b/Userland/DevTools/UserspaceEmulator/Emulator.cpp @@ -102,14 +102,14 @@ void Emulator::setup_stack(Vector<ELF::AuxiliaryValue> aux_vector) Vector<u32> argv_entries; - for (auto& argument : m_arguments) { + for (auto const& argument : m_arguments) { m_cpu.push_string(argument); argv_entries.append(m_cpu.esp().value()); } Vector<u32> env_entries; - for (auto& variable : m_environment) { + for (auto const& variable : m_environment) { m_cpu.push_string(variable.characters()); env_entries.append(m_cpu.esp().value()); } @@ -461,7 +461,7 @@ String Emulator::create_backtrace_line(FlatPtr address) void Emulator::dump_backtrace(Vector<FlatPtr> const& backtrace) { - for (auto& address : backtrace) { + for (auto const& address : backtrace) { reportln("{}", create_backtrace_line(address)); } } |