aboutsummaryrefslogtreecommitdiff
path: root/zen/cmds/run.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/cmds/run.cpp')
-rw-r--r--zen/cmds/run.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/zen/cmds/run.cpp b/zen/cmds/run.cpp
index 4ffbf820c..94eb7ef6d 100644
--- a/zen/cmds/run.cpp
+++ b/zen/cmds/run.cpp
@@ -139,9 +139,8 @@ RunCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
}
PrepReq.EndArray();
- zen::MemoryOutStream MemOut;
- zen::BinaryWriter MemWriter(MemOut);
- PrepReq.Save(MemWriter);
+ zen::BinaryWriter MemOut;
+ PrepReq.Save(MemOut);
Zen1.WaitUntilReady();