Commit 4fe2cc34 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Remove simple constructors/destructors in favor of compiler-generated ones.

parent fa6a43c8
......@@ -61,7 +61,6 @@ namespace Algorithms {
class DLLExport FitPowderDiffPeaks : public API::Algorithm {
public:
FitPowderDiffPeaks();
~FitPowderDiffPeaks() override;
/// Algorithm's name for identification overriding a virtual method
const std::string name() const override { return "FitPowderDiffPeaks"; }
......
......@@ -75,7 +75,6 @@ public:
enum FunctionMode { CALCULATION, FIT, BACKGROUNDPROCESS, MONTECARLO };
LeBailFit();
~LeBailFit() override;
/// Algorithm's name for identification overriding a virtual method
const std::string name() const override { return "LeBailFit"; }
......
......@@ -54,7 +54,6 @@ namespace Algorithms {
class DLLExport RefinePowderInstrumentParameters : public API::Algorithm {
public:
RefinePowderInstrumentParameters();
~RefinePowderInstrumentParameters() override;
/// Algorithm's name for identification overriding a virtual method
const std::string name() const override {
......
......@@ -42,7 +42,6 @@ namespace Algorithms {
class DLLExport RefinePowderInstrumentParameters3 : public API::Algorithm {
public:
RefinePowderInstrumentParameters3();
~RefinePowderInstrumentParameters3() override;
/// Algorithm's name for identification overriding a virtual method
const std::string name() const override {
......
......@@ -46,7 +46,6 @@ namespace Algorithms {
class DLLExport SplineInterpolation : public API::Algorithm {
public:
SplineInterpolation();
~SplineInterpolation() override;
const std::string name() const override;
int version() const override;
......
......@@ -41,7 +41,6 @@ namespace Algorithms {
class DLLExport SplineSmoothing : public API::Algorithm {
public:
SplineSmoothing();
~SplineSmoothing() override;
const std::string name() const override;
int version() const override;
......
......@@ -74,11 +74,6 @@ FitPowderDiffPeaks::FitPowderDiffPeaks()
m_rightmostPeakRightBound(0.), m_minPeakHeight(0.), m_unitCell(),
m_fitPeakBackgroundComposite(false) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
FitPowderDiffPeaks::~FitPowderDiffPeaks() = default;
//----------------------------------------------------------------------------------------------
/** Parameter declaration
*/
......
......@@ -70,11 +70,6 @@ LeBailFit::LeBailFit()
m_numberBkgdParameters(0), m_bkgdParameterBuffer(), m_bestBkgdParams(),
m_roundBkgd(0), m_bkgdParameterStepVec(), m_peakCentreTol(0.) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
LeBailFit::~LeBailFit() = default;
//----------------------------------------------------------------------------------------------
/** Declare the input properties for this algorithm
*/
......
......@@ -53,11 +53,6 @@ RefinePowderInstrumentParameters::RefinePowderInstrumentParameters()
: m_BestGSLChi2(0.0), m_MinSigma(0.0), m_MinNumFittedPeaks(0),
m_MaxNumberStoredParameters(0) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
RefinePowderInstrumentParameters::~RefinePowderInstrumentParameters() = default;
//----------------------------------------------------------------------------------------------
/** Parameter declaration
*/
......
......@@ -28,12 +28,6 @@ RefinePowderInstrumentParameters3::RefinePowderInstrumentParameters3()
m_profileParameters(), m_positionFunc(), m_dampingFactor(0.),
m_bestChiSq(0.), m_bestChiSqStep(-1), m_bestChiSqGroup(-1) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
RefinePowderInstrumentParameters3::~RefinePowderInstrumentParameters3() =
default;
//----------------------------------------------------------------------------------------------
/** Declare properties
*/
......
......@@ -23,11 +23,6 @@ using Functions::CubicSpline;
SplineInterpolation::SplineInterpolation()
: m_cspline(boost::make_shared<CubicSpline>()) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
SplineInterpolation::~SplineInterpolation() = default;
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string SplineInterpolation::name() const {
......
......@@ -27,11 +27,6 @@ SplineSmoothing::SplineSmoothing()
m_inputWorkspace(), m_inputWorkspacePointData(),
m_derivativeWorkspaceGroup(new WorkspaceGroup) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
SplineSmoothing::~SplineSmoothing() = default;
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string SplineSmoothing::name() const { return "SplineSmoothing"; }
......
......@@ -86,9 +86,6 @@ padParameterVector(std::vector<double> &param_vector,
*/
class DLLExport AccumulateMD : public API::DataProcessorAlgorithm {
public:
AccumulateMD();
~AccumulateMD() override;
const std::string name() const override;
int version() const override;
const std::string category() const override;
......
......@@ -36,8 +36,6 @@ namespace MDAlgorithms {
*/
class DLLExport AndMD : public BooleanBinaryOperationMD {
public:
AndMD();
~AndMD() override;
const std::string name() const override;
int version() const override;
......
......@@ -33,7 +33,6 @@ namespace MDAlgorithms {
class DLLExport BinMD : public SlicingAlgorithm {
public:
BinMD();
~BinMD() override;
/// Algorithm's name for identification
const std::string name() const override { return "BinMD"; }
......
......@@ -45,9 +45,6 @@ namespace MDAlgorithms {
*/
class DLLExport BinaryOperationMD : public API::Algorithm {
public:
BinaryOperationMD();
~BinaryOperationMD() override;
const std::string name() const override;
int version() const override;
const std::string category() const override;
......
......@@ -36,9 +36,6 @@ namespace MDAlgorithms {
*/
class DLLExport BooleanBinaryOperationMD : public BinaryOperationMD {
public:
BooleanBinaryOperationMD();
~BooleanBinaryOperationMD() override;
const std::string name() const override;
/// Summary of algorithms purpose
const std::string summary() const override;
......
......@@ -40,8 +40,6 @@ namespace MDAlgorithms {
*/
class DLLExport BoxControllerSettingsAlgorithm : public API::Algorithm {
public:
BoxControllerSettingsAlgorithm();
~BoxControllerSettingsAlgorithm() override;
protected:
/// Initialise the properties
......
......@@ -35,8 +35,6 @@ namespace MDAlgorithms {
class DLLExport CalculateCoverageDGS : public API::Algorithm {
public:
CalculateCoverageDGS();
~CalculateCoverageDGS() override;
const std::string name() const override;
int version() const override;
const std::string category() const override;
......
......@@ -18,8 +18,6 @@ namespace MDAlgorithms {
*/
class DLLExport CentroidPeaksMD : public API::Algorithm {
public:
CentroidPeaksMD();
~CentroidPeaksMD() override;
/// Algorithm's name for identification
const std::string name() const override { return "CentroidPeaksMD"; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment