Skip to content

Commit effc72b

Browse files
author
Vipul S. Chawathe
authored
Align coding style
The last instantiation of call had mismatched showing filter's return value with the two previous instantiations from the same code block.
1 parent e425e34 commit effc72b

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)