Commit 22ae6f47 authored by Emmanuel Promayon's avatar Emmanuel Promayon

UPDATED move destructor empty code to header

So that clang-tidy is not confused and does not add an unappropriate "= delete"
parent 5c4b5522
......@@ -71,9 +71,6 @@ SphereTopology::SphereTopology(ActionExtension* extension) : Action(extension) {
addParameter(thetaProperty);
}
SphereTopology::~SphereTopology() {
}
Action::ApplyStatus SphereTopology::apply() {
QVector3D center = property("Center").value<QVector3D>();
double radius = property("Radius").toDouble();
......
......@@ -47,7 +47,7 @@ public:
SphereTopology(camitk::ActionExtension*);
/// the destructor
virtual ~SphereTopology();
virtual ~SphereTopology() {};
/// method called when the action when the action is triggered (i.e. started)
//virtual QWidget * getWidget();
......
......@@ -100,10 +100,6 @@ Decimation::Decimation(ActionExtension* extension) : Action(extension) {
addParameter(inflectionRatioProperty);
}
// -------------------- Decimation destructor --------------------
Decimation::~Decimation() {
}
// -------------------- apply --------------------
Action::ApplyStatus Decimation::apply() {
// set waiting cursor and status bar
......
......@@ -48,7 +48,7 @@ public:
Decimation(camitk::ActionExtension*);
/// the destructor
virtual ~Decimation();
virtual ~Decimation() {};
public slots:
/// method called when the action is applied
......
......@@ -90,10 +90,6 @@ EnumPropertyExample::EnumPropertyExample(ActionExtension* extension) : Action(ex
addParameter( cleanEnum );
}
// --------------- destructor -------------------
EnumPropertyExample::~EnumPropertyExample() {
}
// --------------- apply -------------------
Action::ApplyStatus EnumPropertyExample::apply() {
// get the current selected values
......
......@@ -38,7 +38,7 @@ public:
EnumPropertyExample(camitk::ActionExtension*);
/// Default Destructor
virtual ~EnumPropertyExample();
virtual ~EnumPropertyExample() {};
/// Example for an Enumeration
enum EnumerationExample {
......
......@@ -117,10 +117,6 @@ PropAction::PropAction(ActionExtension* extension) : Action(extension) {
addParameter(enumList);
}
// --------------- destructor -------------------
PropAction::~PropAction() {
}
// --------------- apply -------------------
Action::ApplyStatus PropAction::apply() {
// loop on all dynamic properties of this action (i.e. the action parameters) and
......
......@@ -27,7 +27,6 @@
#include <Action.h>
class PropAction : public camitk::Action {
// DO NOT forget to add Q_OBJECT otherwise the enumeration cannot be registered in the Meta Object
......@@ -38,7 +37,7 @@ public:
PropAction(camitk::ActionExtension*);
/// Default Destructor
virtual ~PropAction();
virtual ~PropAction() {};
/// Possible Enumeration
enum Enumeration { ACE, KING, QUEEN, JACK, TEN, NINE, EIGHT, SEVEN };
......
......@@ -53,10 +53,6 @@ SimpleMainWindow::SimpleMainWindow() : MainWindow("Simple Demo") {
InteractiveViewer::getCoronalViewer()->setGradientBackground(false);
}
// ------------- destructor -----------------
SimpleMainWindow::~SimpleMainWindow() {
}
// ------------- aboutToShow -----------------
void SimpleMainWindow::aboutToShow() {
// remove all but the main viewer
......
......@@ -53,7 +53,7 @@ public:
SimpleMainWindow();
/// destructor
~SimpleMainWindow();
virtual ~SimpleMainWindow() {};
public slots:
......
Markdown is supported
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