mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +00:00
Kernel: Mark read only RegisterState function parameters as const
This commit is contained in:
parent
27e1120dff
commit
85e95105c6
Notes:
sideshowbarker
2024-07-18 08:43:02 +09:00
Author: https://github.com/bgianfo
Commit: 85e95105c6
Pull-request: https://github.com/SerenityOS/serenity/pull/8864
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/gunnarbeutner ✅
Reviewed-by: https://github.com/tomuta ✅
4 changed files with 4 additions and 4 deletions
|
@ -210,7 +210,7 @@ static void dump(const RegisterState& regs)
|
|||
#endif
|
||||
}
|
||||
|
||||
void handle_crash(RegisterState& regs, const char* description, int signal, bool out_of_memory)
|
||||
void handle_crash(RegisterState const& regs, char const* description, int signal, bool out_of_memory)
|
||||
{
|
||||
auto process = Process::current();
|
||||
if (!process) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue