aboutsummaryrefslogtreecommitdiffstats
path: root/brillo/value_conversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'brillo/value_conversion.h')
-rw-r--r--brillo/value_conversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/brillo/value_conversion.h b/brillo/value_conversion.h
index d681f76..b520a77 100644
--- a/brillo/value_conversion.h
+++ b/brillo/value_conversion.h
@@ -75,7 +75,7 @@ bool FromValue(const base::Value& in_value, std::vector<T, Alloc>* out_value) {
out_value->reserve(list->GetSize());
for (const auto& item : *list) {
T value{};
- if (!FromValue(*item, &value))
+ if (!FromValue(item, &value))
return false;
out_value->push_back(std::move(value));
}