fix: no more compile warnings

This commit is contained in:
Martin Prokoph
2025-02-09 23:54:50 +01:00
parent 813e47a25e
commit 2b9a9b7781
15 changed files with 111 additions and 98 deletions

View File

@@ -13,6 +13,6 @@ enum class Color {
BRIGHT_WHITE= 97
};
std::ostream& operator<<(std::ostream& os, Color color) {
static std::ostream& operator<<(std::ostream& os, Color color) {
return os << "\033[" << static_cast<int>(color) << "m";
}
}