From 726ca01e5c78ff37db8a623527b06ec9dbf57481 Mon Sep 17 00:00:00 2001 From: Piotr Barejko Date: Wed, 19 Aug 2020 12:43:41 -0700 Subject: [PATCH] Make load_env_levels inline function --- include/spdlog/cfg/env.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/cfg/env.h b/include/spdlog/cfg/env.h index 115b676f..98d63a22 100644 --- a/include/spdlog/cfg/env.h +++ b/include/spdlog/cfg/env.h @@ -25,7 +25,7 @@ namespace spdlog { namespace cfg { -void load_env_levels() +inline void load_env_levels() { auto env_val = details::os::getenv("SPDLOG_LEVEL"); auto levels = helpers::extract_levels(env_val);