summaryrefslogtreecommitdiffstats
path: root/edify/expr.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-05-21 20:57:32 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-05-21 20:57:32 +0200
commitc6d70658802b9ca44fa7432daf1676e9267507d8 (patch)
tree45ea6aa3e7a034f376969cbc45b5e0b9ab630e17 /edify/expr.cpp
parentMerge "Add misc_writer." (diff)
parentMerge "Add UpdaterRuntime class" (diff)
downloadandroid_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.cpp4
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) {}