Skip to content

Commit ff25b71

Browse files
committed
fix cppcheck shadow variable
1 parent 7fb4570 commit ff25b71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qt/scientific_interfaces/Muon/ALCBaselineModellingPresenter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ void ALCBaselineModellingPresenter::updateDataCurve() {
151151
}
152152

153153
void ALCBaselineModellingPresenter::updateCorrectedCurve() {
154-
if (auto correctedData = m_model->correctedData())
155-
m_view->setCorrectedCurve(correctedData);
154+
if (auto correctedDataWs = m_model->correctedData())
155+
m_view->setCorrectedCurve(correctedDataWs);
156156
else
157157
m_view->removePlot("Corrected");
158158
}

0 commit comments

Comments
 (0)