mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Fixed nodiscard location
This commit is contained in:
@@ -192,7 +192,7 @@ constexpr std::array<string_view_t, levels_count> short_level_names SPDLOG_SHORT
|
||||
return short_level_names.at(level_to_number(lvl));
|
||||
}
|
||||
|
||||
SPDLOG_API [[nodiscard]] spdlog::level level_from_str(const std::string &name) noexcept;
|
||||
[[nodiscard]] SPDLOG_API spdlog::level level_from_str(const std::string &name) noexcept;
|
||||
|
||||
//
|
||||
// Color mode used by sinks with color support.
|
||||
|
Reference in New Issue
Block a user