Fix msvc build

This commit is contained in:
Jeremy 2023-10-05 12:55:44 -04:00
parent 0c03ac7a01
commit 2f507cc24d
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -173,12 +173,9 @@ namespace cpptrace {
return; return;
} }
const auto reset = color ? ESC "0m" : ""; const auto reset = color ? ESC "0m" : "";
const auto red = color ? ESC "31m" : "";
const auto green = color ? ESC "32m" : ""; const auto green = color ? ESC "32m" : "";
const auto yellow = color ? ESC "33m" : ""; const auto yellow = color ? ESC "33m" : "";
const auto blue = color ? ESC "34m" : ""; const auto blue = color ? ESC "34m" : "";
const auto magenta = color ? ESC "35m" : "";
const auto cyan = color ? ESC "36m" : "";
const auto frame_number_width = detail::n_digits(static_cast<int>(frames.size()) - 1); const auto frame_number_width = detail::n_digits(static_cast<int>(frames.size()) - 1);
for(const auto& frame : frames) { for(const auto& frame : frames) {
stream stream