From eb256827f1af6dde2eb8c138fa9dc9612fd15880 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 1 Oct 2023 17:56:42 +0300 Subject: [PATCH] Fixed nodiscard location --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index ca9747dd..6f95f835 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -192,7 +192,7 @@ constexpr std::array 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.