aboutsummaryrefslogtreecommitdiff
path: root/src/privet/privet_handler.cc
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2016-07-22 19:41:35 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-22 19:41:35 +0000
commit6125590925677a6fc09007d835616ba59044885d (patch)
tree3e85bd82b5a0d8fd3d267d177a9511469817c939 /src/privet/privet_handler.cc
parent340025151a619931897234503cbebb267d2f8a7a (diff)
parent9454fc7df0a31e2d681a626083d06020b6ea9a94 (diff)
downloadlibweave-6125590925677a6fc09007d835616ba59044885d.tar.gz
Merge remote-tracking branch \\\'weave/master\\\' into \\\'weave/aosp-master\\\' am: 7aaba04460 am: 50cf4188d8
am: 9454fc7df0 Change-Id: I575199c9f7691f8b793d1816d3ec1b597747a501
Diffstat (limited to 'src/privet/privet_handler.cc')
-rw-r--r--src/privet/privet_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privet/privet_handler.cc b/src/privet/privet_handler.cc
index ada9f44..2452fc5 100644
--- a/src/privet/privet_handler.cc
+++ b/src/privet/privet_handler.cc
@@ -897,7 +897,7 @@ void PrivetHandler::HandleComponents(const base::DictionaryValue& input,
input.GetString(kPathKey, &path);
const base::ListValue* filter_items = nullptr;
if (input.GetList(kFilterKey, &filter_items)) {
- for (const base::Value* value : *filter_items) {
+ for (const auto& value : *filter_items) {
std::string filter_item;
if (value->GetAsString(&filter_item))
filter.insert(filter_item);