mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
minor cleanup
This commit is contained in:
parent
a98d3ab0c7
commit
d109e1dcd0
@ -164,9 +164,8 @@ protected:
|
||||
const string_view_t str = string_view_t(formatted.data(), formatted.size());
|
||||
// apply the color to the color range in the formatted message.
|
||||
QString payload;
|
||||
int color_range_start, color_range_end;
|
||||
color_range_start = static_cast<int>(msg.color_range_start);
|
||||
color_range_end = static_cast<int>(msg.color_range_end);
|
||||
int color_range_start = static_cast<int>(msg.color_range_start);
|
||||
int color_range_end = static_cast<int>(msg.color_range_end);
|
||||
if (is_utf8_)
|
||||
{
|
||||
payload = QString::fromUtf8(str.data(), static_cast<int>(str.size()));
|
||||
|
Loading…
Reference in New Issue
Block a user