Merge pull request #1961 from jafj/FixCxx20Wdeprecated-copy

Fix C++20 build resulting in deprecated implicit copy assignment operator warning
pull/1970/head
Gabi Melman 4 years ago committed by GitHub
commit a530b87fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save