Browse Source

Update codeobject.h

blueloveTH 3 years ago
parent
commit
9269f6f68a
1 changed files with 1 additions and 1 deletions
  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