Gui: modernize C++: use default member init

This commit is contained in:
wmayer
2023-08-23 16:29:19 +02:00
committed by wwmayer
parent 1cf1a90a17
commit 6beace8da6
79 changed files with 220 additions and 325 deletions

View File

@@ -237,12 +237,9 @@ int SoFCSelectionContextEx::merge(int status, SoFCSelectionContextBasePtr &outpu
///////////////////////////////////////////////////////////////////////
SoFCSelectionCounter::SoFCSelectionCounter()
:counter(std::make_shared<int>(0))
,hasSelection(false)
,hasPreselection(false)
: counter(std::make_shared<int>(0))
{}
SoFCSelectionCounter::~SoFCSelectionCounter() = default;