mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-23 22:22:05 +08:00
Fix C++20 build resulting in deprecated implicit copy assignment operator warning
This commit is contained in:
parent
616866fcf4
commit
6c21789aed
@ -15,6 +15,7 @@ struct SPDLOG_API log_msg
|
||||
log_msg(source_loc loc, string_view_t logger_name, level::level_enum lvl, string_view_t msg);
|
||||
log_msg(string_view_t logger_name, level::level_enum lvl, string_view_t msg);
|
||||
log_msg(const log_msg &other) = default;
|
||||
log_msg &operator=(const log_msg &other) = default;
|
||||
|
||||
string_view_t logger_name;
|
||||
level::level_enum level{level::off};
|
||||
|
Loading…
Reference in New Issue
Block a user