Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sonndinh committed Aug 19, 2024
1 parent 3189189 commit d7d0a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/idl2jni/codegen/idl2jni_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ idl2jni_visitor::visit_interface(AST_Interface *node)
//vector<AST_Interface *> inherits(node->inherits(),
// node->inherits() + node->n_inherits());
const size_t n_inherits = static_cast<size_t>(node->n_inherits());
vector<AST_Interface *> inherits(n_inherits));
vector<AST_Interface *> inherits(n_inherits);
for (size_t i = 0; i < n_inherits; i++) {
inherits[i] = dynamic_cast<AST_Interface *>(*(node->inherits()+i));
}
Expand Down

0 comments on commit d7d0a33

Please sign in to comment.