From 216f614b27a9ea94417aee2de54b51acca0f2921 Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Tue, 24 Mar 2020 13:04:57 +0000 Subject: [PATCH] remove unused boolean isExecuted variable --- Framework/API/inc/MantidAPI/Algorithm.h | 1 - Framework/API/src/Algorithm.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Framework/API/inc/MantidAPI/Algorithm.h b/Framework/API/inc/MantidAPI/Algorithm.h index 9e916481bca..87fd191668c 100644 --- a/Framework/API/inc/MantidAPI/Algorithm.h +++ b/Framework/API/inc/MantidAPI/Algorithm.h @@ -463,7 +463,6 @@ private: std::atomic<ExecutionState> m_executionState; ///< the current execution state std::atomic<ResultState> m_resultState; ///< the current result State - bool m_isExecuted; ///< Algorithm is executed flag bool m_isChildAlgorithm; ///< Algorithm is a child algorithm bool m_recordHistoryForChild; ///< Flag to indicate whether history should be /// recorded. Applicable to child algs only diff --git a/Framework/API/src/Algorithm.cpp b/Framework/API/src/Algorithm.cpp index 7ce5848fefd..9f330fe4300 100644 --- a/Framework/API/src/Algorithm.cpp +++ b/Framework/API/src/Algorithm.cpp @@ -99,7 +99,7 @@ Algorithm::Algorithm() m_log("Algorithm"), g_log(m_log), m_groupSize(0), m_executeAsync(nullptr), m_notificationCenter(nullptr), m_progressObserver(nullptr), m_executionState(ExecutionState::Uninitialized), - m_resultState(ResultState::NotFinished), m_isExecuted(false), + m_resultState(ResultState::NotFinished), m_isChildAlgorithm(false), m_recordHistoryForChild(false), m_alwaysStoreInADS(true), m_runningAsync(false), m_rethrow(false), m_isAlgStartupLoggingEnabled(true), m_startChildProgress(0.), -- GitLab