diff --git a/dataflow_cpp/test/dataflow_cpp_test_simple.cc b/dataflow_cpp/test/dataflow_cpp_test_simple.cc index 6b355bb..cf50d3a 100644 --- a/dataflow_cpp/test/dataflow_cpp_test_simple.cc +++ b/dataflow_cpp/test/dataflow_cpp_test_simple.cc @@ -56,17 +56,14 @@ embb::base::Atomic source_counter; int source_array[TEST_COUNT]; bool sourceFunc(int & out) { - if (source_counter < TEST_COUNT) - { + if (source_counter < TEST_COUNT) { out = source_counter; source_array[source_counter] = out; source_counter++; return true; - } - else - { + } else { return false; } }