summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2016-07-18 16:01:18 -0700
committerLuis Hector Chavez <lhchavez@google.com>2016-07-19 14:40:22 -0700
commit5b39c2d4ec6fb22e1417f52acda606717cf6bb09 (patch)
treeff790fece647efe5d9dbf1c938ee4c22f6d60a9d
parentbce0483dd09f592d6f9f989f0e34fc930d206810 (diff)
downloaddbus-binding-generator-5b39c2d4ec6fb22e1417f52acda606717cf6bb09.tar.gz
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
-rw-r--r--chromeos-dbus-bindings/generate_chromeos_dbus_bindings.cc2
1 files changed, 1 insertions, 1 deletions
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";