From 9b414687d4775105f21c2a381ef79da87039becd Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 14 Mar 2021 15:00:08 +0100 Subject: [PATCH] Replace magic number 8. --- src/xbt/log.cpp | 2 +- src/xbt/log_private.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xbt/log.cpp b/src/xbt/log.cpp index e795c7cb4a..5f37128af7 100644 --- a/src/xbt/log.cpp +++ b/src/xbt/log.cpp @@ -39,7 +39,7 @@ static auto& xbt_log_settings() return value; } -constexpr std::array xbt_log_priority_names{ +constexpr std::array xbt_log_priority_names{ {"NONE", "TRACE", "DEBUG", "VERBOSE", "INFO", "WARNING", "ERROR", "CRITICAL"}}; s_xbt_log_category_t _XBT_LOGV(XBT_LOG_ROOT_CAT) = { diff --git a/src/xbt/log_private.hpp b/src/xbt/log_private.hpp index 95b525fedb..01967d8015 100644 --- a/src/xbt/log_private.hpp +++ b/src/xbt/log_private.hpp @@ -21,7 +21,7 @@ struct xbt_log_layout_s { void *data; }; -extern const std::array xbt_log_priority_names; +extern const std::array xbt_log_priority_names; /** * @ingroup XBT_log_implem -- 2.20.1