Commit 6c21789a authored by JB_12's avatar JB_12

Fix C++20 build resulting in deprecated implicit copy assignment operator warning

parent 616866fc
...@@ -15,6 +15,7 @@ struct SPDLOG_API log_msg ...@@ -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(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(string_view_t logger_name, level::level_enum lvl, string_view_t msg);
log_msg(const log_msg &other) = default; log_msg(const log_msg &other) = default;
log_msg &operator=(const log_msg &other) = default;
string_view_t logger_name; string_view_t logger_name;
level::level_enum level{level::off}; level::level_enum level{level::off};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment