From 14783585b6e4ffaf07efefabe9591ae304bc63b7 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 29 Jul 2021 10:09:52 +0300 Subject: [PATCH] Fix #2022 --- include/spdlog/common.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 7636df4d..518da900 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -173,13 +173,13 @@ enum level_enum n_levels }; -#define SPDLOG_LEVEL_NAME_TRACE string_view_t("trace", 5) -#define SPDLOG_LEVEL_NAME_DEBUG string_view_t("debug", 5) -#define SPDLOG_LEVEL_NAME_INFO string_view_t("info", 4) -#define SPDLOG_LEVEL_NAME_WARNING string_view_t("warning", 7) -#define SPDLOG_LEVEL_NAME_ERROR string_view_t("error", 5) -#define SPDLOG_LEVEL_NAME_CRITICAL string_view_t("critical", 8) -#define SPDLOG_LEVEL_NAME_OFF string_view_t("off", 3) +#define SPDLOG_LEVEL_NAME_TRACE spdlog::string_view_t("trace", 5) +#define SPDLOG_LEVEL_NAME_DEBUG spdlog::string_view_t("debug", 5) +#define SPDLOG_LEVEL_NAME_INFO spdlog::string_view_t("info", 4) +#define SPDLOG_LEVEL_NAME_WARNING spdlog::string_view_t("warning", 7) +#define SPDLOG_LEVEL_NAME_ERROR spdlog::string_view_t("error", 5) +#define SPDLOG_LEVEL_NAME_CRITICAL spdlog::string_view_t("critical", 8) +#define SPDLOG_LEVEL_NAME_OFF spdlog::string_view_t("off", 3) #if !defined(SPDLOG_LEVEL_NAMES) # define SPDLOG_LEVEL_NAMES \