can be made const

This commit is contained in:
2026-01-03 15:58:14 +01:00
parent 00d94bbe05
commit 149a8f8b71

View File

@@ -35,7 +35,7 @@ constexpr std::string pFname(std::string_view full) {
}
template <typename... Args>
void log(LOG level, const std::source_location& loc, std::format_string<Args...> str, Args&&... args) {
void log(const LOG level, const std::source_location& loc, std::format_string<Args...> str, Args&&... args) {
constexpr std::string_view reset = "\033[0m";
constexpr std::string_view pattern = "[{}{}{}] ";
std::string_view color;