Commit 2a66642a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: network manager: use range-based for

parent 0f69b02c
......@@ -52,9 +52,8 @@ void NetworkManager::StateChanged(const uint32_t &state)
void NetworkManager::PropertiesChanged(const std::map<std::string, ::DBus::Variant> &argin0)
{
WARN("Properties changed: ");
for (std::map<std::string, ::DBus::Variant>::const_iterator iter = argin0.begin();
iter != argin0.end(); ++iter)
WARN("%s", iter->first.c_str());
for (const auto &iter : argin0)
WARN("%s", iter.first.c_str());
Manager::instance().registerAccounts();
}
......
Supports Markdown
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