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

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

parent fa6a43c8
......@@ -18,8 +18,6 @@ namespace MDAlgorithms {
*/
class DLLExport CentroidPeaksMD2 : public API::Algorithm {
public:
CentroidPeaksMD2();
~CentroidPeaksMD2() override;
/// Algorithm's name for identification
const std::string name() const override { return "CentroidPeaksMD"; };
......
......@@ -196,16 +196,6 @@ void insertDataSources(
// Register the algorithm into the AlgorithmFactory
DECLARE_ALGORITHM(AccumulateMD)
/*
* Constructor
*/
AccumulateMD::AccumulateMD() {}
/*
* Destructor
*/
AccumulateMD::~AccumulateMD() = default;
/// Algorithms name for identification. @see Algorithm::name
const std::string AccumulateMD::name() const { return "AccumulateMD"; }
......
......@@ -9,16 +9,6 @@ namespace MDAlgorithms {
// Register the algorithm into the AlgorithmFactory
DECLARE_ALGORITHM(AndMD)
//----------------------------------------------------------------------------------------------
/** Constructor
*/
AndMD::AndMD() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
AndMD::~AndMD() = default;
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string AndMD::name() const { return "AndMD"; }
......
......@@ -39,13 +39,6 @@ BinMD::BinMD()
indexMultiplier(nullptr), signals(nullptr), errors(nullptr),
numEvents(nullptr) {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
BinMD::~BinMD() = default;
//----------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
*/
......
......@@ -18,16 +18,6 @@ using Mantid::Geometry::IMDDimension_const_sptr;
namespace Mantid {
namespace MDAlgorithms {
//----------------------------------------------------------------------------------------------
/** Constructor
*/
BinaryOperationMD::BinaryOperationMD() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
BinaryOperationMD::~BinaryOperationMD() = default;
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string BinaryOperationMD::name() const {
......
......@@ -8,16 +8,6 @@ using namespace Mantid::API;
namespace Mantid {
namespace MDAlgorithms {
//----------------------------------------------------------------------------------------------
/** Constructor
*/
BooleanBinaryOperationMD::BooleanBinaryOperationMD() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
BooleanBinaryOperationMD::~BooleanBinaryOperationMD() = default;
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string BooleanBinaryOperationMD::name() const {
......
......@@ -10,16 +10,6 @@ using namespace Mantid::API;
namespace Mantid {
namespace MDAlgorithms {
//----------------------------------------------------------------------------------------------
/** Constructor
*/
BoxControllerSettingsAlgorithm::BoxControllerSettingsAlgorithm() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
BoxControllerSettingsAlgorithm::~BoxControllerSettingsAlgorithm() = default;
//----------------------------------------------------------------------------------------------
/** Add Box-controller-specific properties to this algorithm
*
......
......@@ -40,11 +40,6 @@ CalculateCoverageDGS::CalculateCoverageDGS()
m_eX(), m_hIdx(-1), m_kIdx(-1), m_lIdx(-1), m_eIdx(-1), m_rubw(3, 3),
m_normWS() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
CalculateCoverageDGS::~CalculateCoverageDGS() = default;
//----------------------------------------------------------------------------------------------
/// Algorithms name for identification. @see Algorithm::name
......
......@@ -21,18 +21,6 @@ using namespace Mantid::Geometry;
using namespace Mantid::Kernel;
using namespace Mantid::DataObjects;
//----------------------------------------------------------------------------------------------
/** Constructor
*/
CentroidPeaksMD::CentroidPeaksMD() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
CentroidPeaksMD::~CentroidPeaksMD() = default;
//----------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
*/
......
......@@ -21,18 +21,6 @@ using namespace Mantid::Geometry;
using namespace Mantid::Kernel;
using namespace Mantid::DataObjects;
//----------------------------------------------------------------------------------------------
/** Constructor
*/
CentroidPeaksMD2::CentroidPeaksMD2() {}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
CentroidPeaksMD2::~CentroidPeaksMD2() = default;
//----------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
*/
......
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