Unverified Commit 6587058f authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update argv.h

parent 30f738e4
......@@ -21,7 +21,7 @@ namespace spdlog {
namespace cfg {
// search for SPDLOG_LEVEL= in the args and use it to init the levels
void load_argv_levels(int argc, const char **argv)
inline void load_argv_levels(int argc, const char **argv)
{
const std::string spdlog_level_prefix = "SPDLOG_LEVEL=";
for (int i = 1; i < argc; i++)
......@@ -36,7 +36,7 @@ void load_argv_levels(int argc, const char **argv)
}
}
void load_argv_levels(int argc, char **argv)
inline void load_argv_levels(int argc, char **argv)
{
load_argv_levels(argc, const_cast<const char **>(argv));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment