Skip to content

Commit d39ab8d

Browse files
authored
Merge branch 'live' into master
2 parents bdd0734 + 9726e70 commit d39ab8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/parallel/concrt/codesnippet/CPP/walkthrough-creating-a-dataflow-agent_4.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
// Set the sentinel event.
4040
received_sentinel.set();
4141
},
42-
[](int value) {
42+
[](int value) -> bool {
4343
return value == 0;
4444
});
4545

4646
// Connects the _source message buffer to the rest of the network.
47-
unbounded_buffer<int> connector;
47+
unbounded_buffer<int> connector;

0 commit comments

Comments
 (0)