mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Removed redundant casts to string_view
This commit is contained in:
@@ -38,7 +38,7 @@ class name_formatter : public flag_formatter
|
||||
{
|
||||
void format(const details::log_msg &msg, const std::tm &, fmt::memory_buffer &dest) override
|
||||
{
|
||||
fmt_helper::append_string_view(string_view_t(*msg.logger_name), dest);
|
||||
fmt_helper::append_string_view(*msg.logger_name, dest);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user