diff options
author | Tianjie Xu <xunchang@google.com> | 2019-05-21 20:57:32 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-21 20:57:32 +0200 |
commit | c6d70658802b9ca44fa7432daf1676e9267507d8 (patch) | |
tree | 45ea6aa3e7a034f376969cbc45b5e0b9ab630e17 /edify/expr.cpp | |
parent | Merge "Add misc_writer." (diff) | |
parent | Merge "Add UpdaterRuntime class" (diff) | |
download | android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.tar android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.tar.gz android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.tar.bz2 android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.tar.lz android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.tar.xz android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.tar.zst android_bootable_recovery-c6d70658802b9ca44fa7432daf1676e9267507d8.zip |
Diffstat (limited to 'edify/expr.cpp')
-rw-r--r-- | edify/expr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edify/expr.cpp b/edify/expr.cpp index c090eb28a..e5e0e240a 100644 --- a/edify/expr.cpp +++ b/edify/expr.cpp @@ -421,5 +421,5 @@ Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { return nullptr; } -State::State(const std::string& script, void* cookie) - : script(script), cookie(cookie), error_code(kNoError), cause_code(kNoCause) {} +State::State(const std::string& script, UpdaterInterface* interface) + : script(script), updater(interface), error_code(kNoError), cause_code(kNoCause) {} |