diff --git a/docs/tutorial-basics/tutorial_02_basic_ports.md b/docs/tutorial-basics/tutorial_02_basic_ports.md index 3046952..83e5caa 100644 --- a/docs/tutorial-basics/tutorial_02_basic_ports.md +++ b/docs/tutorial-basics/tutorial_02_basic_ports.md @@ -99,7 +99,7 @@ When a custom TreeNode has input and/or output ports, these ports must be declared in the __static__ method: ``` cpp -static MyCustomNode::PortsList providedPorts(); +static PortsList MyCustomNode::providedPorts(); ``` The input from the port `message` can be read using the template method