diff --git a/tutorials/migrate-v4.md b/tutorials/migrate-v4.md index f7aee6d..9a418a4 100644 --- a/tutorials/migrate-v4.md +++ b/tutorials/migrate-v4.md @@ -59,7 +59,7 @@ static Result> parse(std::string const&, std::string ## Changes to `getChildOfType` * Deprecated in 3.9.0, and now removed, use `CCNode::getChildByType(int index)` instead: -* `getChildOfType(node, 1)` -> `node->getChildByType(1)` +* `getChildOfType(node, 1)` -> `node->getChildByType(1)` * You can use this regex pattern to quickly find and replace: * `getChildOfType<(.+?)>\((.+?),\s*(.+?)\)` and replace with `$2->getChildByType<$1>($3)`