瀏覽代碼

Update codeobject.h

blueloveTH 3 年之前
父節點
當前提交
9269f6f68a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/codeobject.h

+ 1 - 1
src/codeobject.h

@@ -61,7 +61,7 @@ struct CodeObject {
     PyVarList consts;
     std::vector<std::pair<_Str, NameScope>> names;
     emhash8::HashMap<_Str, int> global_names;
-    std::vector<CodeBlock> blocks = { CodeBlock{NO_BLOCK, {}, -1} };
+    std::vector<CodeBlock> blocks = { CodeBlock{NO_BLOCK, -1} };
     emhash8::HashMap<_Str, int> labels;
 
     // tmp variables