Gui: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-20 18:12:43 +02:00
parent 3e35b5f606
commit c016f1c1fb
188 changed files with 408 additions and 1124 deletions

View File

@@ -799,9 +799,7 @@ SoHighlightElementAction::SoHighlightElementAction () : _highlight(false), _det(
SO_ACTION_CONSTRUCTOR(SoHighlightElementAction);
}
SoHighlightElementAction::~SoHighlightElementAction()
{
}
SoHighlightElementAction::~SoHighlightElementAction() = default;
void SoHighlightElementAction::beginTraversal(SoNode *node)
{
@@ -870,9 +868,7 @@ SoSelectionElementAction::SoSelectionElementAction (Type t, bool secondary)
SO_ACTION_CONSTRUCTOR(SoSelectionElementAction);
}
SoSelectionElementAction::~SoSelectionElementAction()
{
}
SoSelectionElementAction::~SoSelectionElementAction() = default;
void SoSelectionElementAction::beginTraversal(SoNode *node)
{
@@ -942,9 +938,7 @@ SoVRMLAction::SoVRMLAction() : overrideMode(true)
SO_ACTION_CONSTRUCTOR(SoVRMLAction);
}
SoVRMLAction::~SoVRMLAction()
{
}
SoVRMLAction::~SoVRMLAction() = default;
void SoVRMLAction::setOverrideMode(SbBool on)
{
@@ -1082,9 +1076,7 @@ SoFCSelectionRoot::SoFCSelectionRoot(bool trackCacheMode)
SO_NODE_SET_SF_ENUM_TYPE(selectionStyle, SelectStyles);
}
SoFCSelectionRoot::~SoFCSelectionRoot()
{
}
SoFCSelectionRoot::~SoFCSelectionRoot() = default;
void SoFCSelectionRoot::initClass()
{