From 1231f02ffaca54f79ee010e7a45b5b44e86f6d7f Mon Sep 17 00:00:00 2001
From: Felix Weiglhofer <weiglhofer@fias.uni-frankfurt.de>
Date: Tue, 10 Oct 2023 14:02:16 +0000
Subject: [PATCH] cbmreco: Cosmetic fixes.

---
 reco/app/cbmreco/main.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/reco/app/cbmreco/main.cxx b/reco/app/cbmreco/main.cxx
index e1f2dd9980..b878bf1e25 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();
-- 
GitLab