Skip to content

Commit 47ec995

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2397323 commit 47ec995

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Iteration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ auto Iteration::beginStep(bool reread) -> BeginStepStatus
705705
{
706706
res.iterationsInOpenedStep = series.readGorVBased(false);
707707
}
708-
catch(...)
708+
catch (...)
709709
{
710710
IOHandler()->m_seriesStatus = oldStatus;
711711
throw;

src/ReadIterations.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ SeriesIterator::nextIterationInStep(Iteration &currentIteration)
182182
series.iterations[m_currentIteration].open();
183183
try
184184
{
185-
series.iterations[m_currentIteration].beginStep(/* reread = */ true);
185+
series.iterations[m_currentIteration].beginStep(
186+
/* reread = */ true);
186187
}
187188
catch (error::ReadError const &err)
188189
{
@@ -214,8 +215,8 @@ SeriesIterator::nextStep(Iteration &currentIteration)
214215
catch (error::ReadError const &err)
215216
{
216217
std::cerr << "[SeriesIterator] Cannot read iteration due to error "
217-
"below, will skip it.\n"
218-
<< err.what() << std::endl;
218+
"below, will skip it.\n"
219+
<< err.what() << std::endl;
219220
// Need to close the current step manually because there is no
220221
// iteration to close
221222
Parameter<Operation::ADVANCE> param;

0 commit comments

Comments
 (0)