Update common.h

This commit is contained in:
Gabi Melman
2023-09-26 01:53:55 +03:00
committed by GitHub
parent 60457b6794
commit 030bcb8890

View File

@@ -187,7 +187,7 @@ constexpr std::array<string_view_t, levels_count> 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));
}