Brett 2024-10-04 13:47:10 -04:00
parent 15e1b263a4
commit 463e36e48d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) include(cmake/color.cmake)
set(BLT_VERSION 2.0.7) set(BLT_VERSION 2.0.8)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -157,7 +157,7 @@ namespace blt::logging
inline auto make_color(Args... colors) inline auto make_color(Args... colors)
{ {
std::string mode; std::string mode;
((mode + std::string(colors) + ";"), ...); ((mode += std::string(colors) + ";"), ...);
return ESC("[" + mode.substr(0, mode.size() - 1) + "m"); return ESC("[" + mode.substr(0, mode.size() - 1) + "m");
} }
} }