From 030bcb88900d0bd18ffbf92caabca8614ef9d69c Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 26 Sep 2023 01:53:55 +0300 Subject: [PATCH] Update common.h --- 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 e9bcca43..40779770 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -187,7 +187,7 @@ constexpr std::array short_level_names SPDLOG_SHORT return level_string_views.at(level_to_number(lvl)); } -[[nodiscard]] constexpr const char *to_short_string_view(spdlog::level lvl) noexcept { +[[nodiscard]] constexpr const string_view_t to_short_string_view(spdlog::level lvl) noexcept { return short_level_names.at(level_to_number(lvl)); }