From 5b39c2d4ec6fb22e1417f52acda606717cf6bb09 Mon Sep 17 00:00:00 2001 From: Luis Hector Chavez Date: Mon, 18 Jul 2016 16:01:18 -0700 Subject: dbus-binding-generator: Update libchrome APIs to r405848 The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: I6854b5288b2b291abf19eaf5843cbe8a103d950c --- chromeos-dbus-bindings/generate_chromeos_dbus_bindings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromeos-dbus-bindings/generate_chromeos_dbus_bindings.cc b/chromeos-dbus-bindings/generate_chromeos_dbus_bindings.cc index b22c141..c82326d 100644 --- a/chromeos-dbus-bindings/generate_chromeos_dbus_bindings.cc +++ b/chromeos-dbus-bindings/generate_chromeos_dbus_bindings.cc @@ -107,7 +107,7 @@ bool LoadConfig(const base::FilePath& path, ServiceConfig *config) { base::ListValue* list = nullptr; // Owned by |dict|. if (dict->GetListWithoutPathExpansion("ignore_interfaces", &list)) { config->ignore_interfaces.reserve(list->GetSize()); - for (base::Value* item : *list) { + for (const auto& item : *list) { std::string interface_name; if (!item->GetAsString(&interface_name)) { LOG(ERROR) << "Invalid interface name in [ignore_interfaces] section"; -- cgit v1.2.3