Skip to content

Commit c8fc9c3

Browse files
committed
Please consider the following formatting changes
1 parent accb5c1 commit c8fc9c3

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Framework/Core/src/TopologyPolicyHelpers.cxx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
#include "Framework/TopologyPolicyHelpers.h"
1313
#include "Framework/TopologyPolicy.h"
1414

15-
namespace o2::framework {
16-
namespace {
15+
namespace o2::framework
16+
{
17+
namespace
18+
{
1719
void describeDataProcessorSpec(std::ostream& stream, DataProcessorSpec const& spec)
1820
{
1921
stream << spec.name;
@@ -27,9 +29,10 @@ void describeDataProcessorSpec(std::ostream& stream, DataProcessorSpec const& sp
2729
stream << ")";
2830
}
2931
}
30-
}
32+
} // namespace
3133

32-
auto TopologyPolicyHelpers::buildEdges(WorkflowSpec& physicalWorkflow) -> std::vector < std::pair<int, int>> {
34+
auto TopologyPolicyHelpers::buildEdges(WorkflowSpec& physicalWorkflow) -> std::vector<std::pair<int, int>>
35+
{
3336
std::vector<TopologyPolicy> topologyPolicies = TopologyPolicy::createDefaultPolicies();
3437
std::vector<TopologyPolicy::DependencyChecker> dependencyCheckers;
3538
dependencyCheckers.reserve(physicalWorkflow.size());

Framework/Core/src/runDataProcessing.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2836,7 +2836,6 @@ std::unique_ptr<o2::framework::ServiceRegistry> createRegistry()
28362836
return std::make_unique<o2::framework::ServiceRegistry>();
28372837
}
28382838

2839-
28402839
// This is a toy executor for the workflow spec
28412840
// What it needs to do is:
28422841
//

Framework/Core/test/test_TopologyPolicies.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ WorkflowSpec defineDataProcessingWithSporadic()
3131
return {
3232
{.name = "input-proxy", .outputs = {OutputSpec{"QEMC", "CELL", 1}, OutputSpec{"CTF", "DONE", 0}}},
3333
{.name = "EMC-Cell-proxy", .inputs = Inputs{InputSpec{"a", "QEMC", "CELL", 1, Lifetime::Sporadic}}},
34-
{.name = "calib-output-proxy-barrel-tf", .inputs = {InputSpec{"a", "CTF", "DONE", 0}}}};
34+
{.name = "calib-output-proxy-barrel-tf", .inputs = {InputSpec{"a", "CTF", "DONE", 0}}}};
3535
}
3636

3737
TEST_CASE("TestBrokenSporadic")
@@ -57,4 +57,3 @@ TEST_CASE("TestBrokenSporadic")
5757
DeviceSpecHelpers::dataProcessorSpecs2DeviceSpecs(workflow, channelPolicies, completionPolicies, callbacksPolicies, devices, rm, "workflow-id", *configContext);
5858
TopologyPolicyHelpers::buildEdges(workflow);
5959
}
60-

0 commit comments

Comments
 (0)