From 149a8f8b71ca3c549976d0f884f1c5bdd8319c89 Mon Sep 17 00:00:00 2001 From: Drath Date: Sat, 3 Jan 2026 15:58:14 +0100 Subject: [PATCH] can be made const --- include/log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/log.hpp b/include/log.hpp index f22d5d6..4ef2a68 100644 --- a/include/log.hpp +++ b/include/log.hpp @@ -35,7 +35,7 @@ constexpr std::string pFname(std::string_view full) { } template -void log(LOG level, const std::source_location& loc, std::format_string str, Args&&... args) { +void log(const LOG level, const std::source_location& loc, std::format_string str, Args&&... args) { constexpr std::string_view reset = "\033[0m"; constexpr std::string_view pattern = "[{}{}{}] "; std::string_view color;