mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Update log_msg_buffer-inl.h
This commit is contained in:
parent
cff9db5044
commit
277ccc5e18
@ -53,7 +53,7 @@ namespace details {
|
||||
SPDLOG_INLINE void log_msg_buffer::update_string_views()
|
||||
{
|
||||
logger_name = string_view_t{buffer.data(), logger_name.size()};
|
||||
payload = string_view_t{logger_name.end(), payload.size()};
|
||||
payload = string_view_t{buffer.data()+logger_name.size(), payload.size()};
|
||||
}
|
||||
|
||||
} // namespace details
|
||||
|
Loading…
Reference in New Issue
Block a user