diff --git a/reco/app/cbmreco/main.cxx b/reco/app/cbmreco/main.cxx index e1f2dd99800e13ba675fb9a6ace3fc5ac6863c49..b878bf1e25072c2c19de3cef807a707351873be9 100644 --- a/reco/app/cbmreco/main.cxx +++ b/reco/app/cbmreco/main.cxx @@ -69,7 +69,7 @@ bool dumpArchive(const Options& opts) int main(int argc, char** argv) { - Options opts {argc, argv}; + Options opts(argc, argv); logging::add_console(opts.LogLevel()); @@ -106,7 +106,7 @@ int main(int argc, char** argv) Reco reco; reco.Init(opts); - fles::TimesliceAutoSource source {opts.InputLocator()}; + fles::TimesliceAutoSource source(opts.InputLocator()); std::optional<RecoResultsOutputArchive> archive; if (!opts.OutputFile().empty()) { @@ -116,7 +116,7 @@ int main(int argc, char** argv) int tsIdx = 0; int num_ts = opts.NumTimeslices(); - if (num_ts > 0) { num_ts += opts.SkipTimeslices(); } + if (num_ts > 0) num_ts += opts.SkipTimeslices(); while (auto ts = source.get()) { if (tsIdx < opts.SkipTimeslices()) { tsIdx++; @@ -130,7 +130,7 @@ int main(int argc, char** argv) } tsIdx++; - if (num_ts > 0 && tsIdx >= num_ts) { break; } + if (num_ts > 0 && tsIdx >= num_ts) break; } if (archive) archive->end_stream();