Skip to content

Commit a5e01ce

Browse files
committed
Don't use std::format for SteamOS
1 parent 0efa5b1 commit a5e01ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jngl/log.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024-2025 Jan Niklas Hasse <jhasse@gmail.com>
1+
// Copyright 2024-2026 Jan Niklas Hasse <jhasse@gmail.com>
22
// For conditions of distribution and use, see copyright notice in LICENSE.txt
33
#include "log.hpp"
44

@@ -48,7 +48,7 @@ void info(const std::string& line) {
4848
}
4949

5050
void log(std::string_view levelName, const std::string& line) {
51-
internal::log(shortenDisplayName(), std::format("\x1b[35m{}\x1b[0m", std::string(levelName)), line);
51+
internal::log(shortenDisplayName(), "\x1b[35m" + std::string(levelName) + "\x1b[0m", line);
5252
}
5353

5454
void warn(const std::string& line) {

0 commit comments

Comments
 (0)