Skip to content

Commit 5874eb0

Browse files
authored
Update tutorial_04_sequence.md (#41)
1 parent 03ea0bf commit 5874eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial-basics/tutorial_04_sequence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ int main()
166166
// Here, instead of tree.tickWhileRunning(),
167167
// we prefer our own loop.
168168
std::cout << "--- ticking\n";
169-
status = tree.tickOnce();
169+
auto status = tree.tickOnce();
170170
std::cout << "--- status: " << toStr(status) << "\n\n";
171171

172172
while(status == NodeStatus::RUNNING)

0 commit comments

Comments
 (0)