mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
Fixed clang-tidy warning about implicit conversion to string_view
This commit is contained in:
@@ -45,11 +45,6 @@ struct log_msg
|
||||
mutable size_t color_range_start{0};
|
||||
mutable size_t color_range_end{0};
|
||||
|
||||
operator fmt::string_view() const SPDLOG_NOEXCEPT
|
||||
{
|
||||
return payload;
|
||||
}
|
||||
|
||||
const fmt::string_view payload;
|
||||
};
|
||||
} // namespace details
|
||||
|
||||
Reference in New Issue
Block a user