From 54ce511f1dbf16938fdb6dbdb42c843c73698436 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 5 Dec 2022 13:00:41 +0100 Subject: [PATCH] More const --- kernel/src/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/src/Log.cpp b/kernel/src/Log.cpp index b4f14cc7..0b008e58 100644 --- a/kernel/src/Log.cpp +++ b/kernel/src/Log.cpp @@ -47,8 +47,8 @@ static Result log_text_console(LogLevel level, const char* format, va_list va_list ap; va_copy(ap, origin); - u32 original_foreground = TextConsole::foreground(); - u32 original_background = TextConsole::background(); + const u32 original_foreground = TextConsole::foreground(); + const u32 original_background = TextConsole::background(); TextConsole::set_background(BLACK);