diff --git a/src/CapabilitiesCache.h b/src/CapabilitiesCache.h index 6658a0f1..b0355ca2 100644 --- a/src/CapabilitiesCache.h +++ b/src/CapabilitiesCache.h @@ -111,7 +111,7 @@ namespace OpenWifi { i >> cache; for (const auto &[Type, Platform] : cache.items()) { - Platforms_[Type] = Poco::toLower(to_string(Platform)); + Platforms_[Type] = Poco::toLower(Platform.get()); } } catch (...) { }