Skip to content

Commit ee7b8db

Browse files
committed
Follow workflow declaration API changes in O2
1 parent 0e24e0d commit ee7b8db

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Framework/src/TaskDPL.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ using namespace o2::framework;
3535
using namespace o2::quality_control::core;
3636
using namespace std::chrono;
3737

38-
void defineDataProcessing(std::vector<DataProcessorSpec>& specs)
38+
WorkflowSpec defineDataProcessing(ConfigContext const&)
3939
{
40+
WorkflowSpec specs;
4041
DataProcessorSpec producer{
4142
"producer",
4243
Inputs{},
@@ -102,4 +103,6 @@ void defineDataProcessing(std::vector<DataProcessorSpec>& specs)
102103

103104
LOG(INFO) << "Using config file '" << qcConfigurationSource << "'";
104105
o2::framework::DataSampling::GenerateInfrastructure(specs, qcConfigurationSource);
106+
107+
return specs;
105108
}

0 commit comments

Comments
 (0)