diff --git a/src/Iteration.cpp b/src/Iteration.cpp index 0f68e17ddb..2e8d70d089 100644 --- a/src/Iteration.cpp +++ b/src/Iteration.cpp @@ -705,7 +705,7 @@ auto Iteration::beginStep(bool reread) -> BeginStepStatus { res.iterationsInOpenedStep = series.readGorVBased(false); } - catch(...) + catch (...) { IOHandler()->m_seriesStatus = oldStatus; throw; diff --git a/src/ReadIterations.cpp b/src/ReadIterations.cpp index 0db852e0d6..c4b6b1976d 100644 --- a/src/ReadIterations.cpp +++ b/src/ReadIterations.cpp @@ -182,7 +182,8 @@ SeriesIterator::nextIterationInStep(Iteration ¤tIteration) series.iterations[m_currentIteration].open(); try { - series.iterations[m_currentIteration].beginStep(/* reread = */ true); + series.iterations[m_currentIteration].beginStep( + /* reread = */ true); } catch (error::ReadError const &err) { @@ -214,8 +215,8 @@ SeriesIterator::nextStep(Iteration ¤tIteration) catch (error::ReadError const &err) { std::cerr << "[SeriesIterator] Cannot read iteration due to error " - "below, will skip it.\n" - << err.what() << std::endl; + "below, will skip it.\n" + << err.what() << std::endl; // Need to close the current step manually because there is no // iteration to close Parameter param;