Gui: modernize C++: use equals default
This commit is contained in:
@@ -204,9 +204,7 @@ void PolyPickerSelection::draw()
|
||||
_pcView3D->redraw();
|
||||
}
|
||||
|
||||
PolyPickerSelection::~PolyPickerSelection()
|
||||
{
|
||||
}
|
||||
PolyPickerSelection::~PolyPickerSelection() = default;
|
||||
|
||||
int PolyPickerSelection::popupMenu()
|
||||
{
|
||||
@@ -357,9 +355,7 @@ PolyClipSelection::PolyClipSelection()
|
||||
selectionBits.set(2);
|
||||
}
|
||||
|
||||
PolyClipSelection::~PolyClipSelection()
|
||||
{
|
||||
}
|
||||
PolyClipSelection::~PolyClipSelection() = default;
|
||||
|
||||
int PolyClipSelection::popupMenu()
|
||||
{
|
||||
@@ -404,14 +400,9 @@ int PolyClipSelection::popupMenu()
|
||||
|
||||
// -----------------------------------------------------------------------------------
|
||||
|
||||
FreehandSelection::FreehandSelection()
|
||||
{
|
||||
}
|
||||
FreehandSelection::FreehandSelection() = default;
|
||||
|
||||
FreehandSelection::~FreehandSelection()
|
||||
{
|
||||
|
||||
}
|
||||
FreehandSelection::~FreehandSelection() = default;
|
||||
|
||||
void FreehandSelection::setClosed(bool on)
|
||||
{
|
||||
@@ -565,9 +556,7 @@ RubberbandSelection::RubberbandSelection()
|
||||
rubberband.setColor(1.0, 1.0, 0.0, 0.5);
|
||||
}
|
||||
|
||||
RubberbandSelection::~RubberbandSelection()
|
||||
{
|
||||
}
|
||||
RubberbandSelection::~RubberbandSelection() = default;
|
||||
|
||||
void RubberbandSelection::setColor(float r, float g, float b, float a)
|
||||
{
|
||||
@@ -665,19 +654,13 @@ RectangleSelection::RectangleSelection() : RubberbandSelection()
|
||||
rubberband.setColor(0.0,0.0,1.0,1.0);
|
||||
}
|
||||
|
||||
RectangleSelection::~RectangleSelection()
|
||||
{
|
||||
}
|
||||
RectangleSelection::~RectangleSelection() = default;
|
||||
|
||||
// -----------------------------------------------------------------------------------
|
||||
|
||||
BoxZoomSelection::BoxZoomSelection()
|
||||
{
|
||||
}
|
||||
BoxZoomSelection::BoxZoomSelection() = default;
|
||||
|
||||
BoxZoomSelection::~BoxZoomSelection()
|
||||
{
|
||||
}
|
||||
BoxZoomSelection::~BoxZoomSelection() = default;
|
||||
|
||||
void BoxZoomSelection::terminate(bool abort)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user