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

@@ -278,11 +278,9 @@ namespace Gui {
class UIntSpinBoxPrivate
{
public:
UnsignedValidator * mValidator;
UnsignedValidator * mValidator{nullptr};
UIntSpinBoxPrivate() : mValidator(nullptr)
{
}
UIntSpinBoxPrivate() = default;
uint mapToUInt( int v ) const
{
uint ui;