1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

log: improve compatability

This commit is contained in:
Steffen Vogel 2022-02-25 09:52:25 -05:00
parent c5ac9d957b
commit d22855d16c

View file

@ -195,7 +195,7 @@ void Log::setLevel(Level lvl)
void Log::setLevel(const std::string &lvl)
{
std::list<std::string> l = SPDLOG_LEVEL_NAMES;
auto l = SPDLOG_LEVEL_NAMES;
auto it = std::find(l.begin(), l.end(), lvl);
if (it == l.end())