summaryrefslogtreecommitdiff
path: root/cmds/bootanimation
diff options
context:
space:
mode:
authorJaesung Chung <jaesung@google.com>2017-12-13 23:20:38 +0900
committerJaesung Chung <jaesung@google.com>2017-12-13 23:22:36 +0900
commite175aaa98c9e3d6baaa102c4830dbedc8029e98f (patch)
tree474385c9688fd78084fbed79d77aaaceec6d3b7b /cmds/bootanimation
parentfadfd6e15cdcf69c7d50c612a31a0c510a388cd5 (diff)
Use vector instead of deprecated ScopedVector
ScopedVector has been deprecated so vector should be used. Bug: 70598154 Test: build Change-Id: Ifff33bd03ffed3a0fd48bbf086b7fdad0b69b599
Diffstat (limited to 'cmds/bootanimation')
-rw-r--r--cmds/bootanimation/iot/BootParameters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/bootanimation/iot/BootParameters.h b/cmds/bootanimation/iot/BootParameters.h
index ff3b018bd241..c10bd44bc2ca 100644
--- a/cmds/bootanimation/iot/BootParameters.h
+++ b/cmds/bootanimation/iot/BootParameters.h
@@ -48,8 +48,8 @@ private:
struct SavedBootParameters {
int brightness;
int volume;
- ScopedVector<std::string> param_names;
- ScopedVector<std::string> param_values;
+ std::vector<std::unique_ptr<std::string>> param_names;
+ std::vector<std::unique_ptr<std::string>> param_values;
SavedBootParameters();
static void RegisterJSONConverter(