提交 ff47eaf4 编写于 作者: X Xin Pan

clean

上级 4313d870
...@@ -32,10 +32,6 @@ void ProgramDesc::Flush() { ...@@ -32,10 +32,6 @@ void ProgramDesc::Flush() {
for (auto &block : blocks_) { for (auto &block : blocks_) {
block->Flush(); block->Flush();
} }
// If not loaded, use current code version.
if (desc_.version().version() < 0) {
desc_.mutable_version()->set_version(kCurProgramVersion);
}
} }
proto::ProgramDesc *ProgramDesc::Proto() { proto::ProgramDesc *ProgramDesc::Proto() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册