fix cppcoreguidelines-*

* cppcoreguidelines-init-variables
* cppcoreguidelines-c-copy-assignment-signature
* cppcoreguidelines-macro-usage
* cppcoreguidelines-non-private-member-variables-in-classes
* cppcoreguidelines-pro-type-member-init
* cppcoreguidelines-slicing
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-virtual-class-destructor
This commit is contained in:
wmayer
2023-11-15 17:12:50 +01:00
parent 39337ea12e
commit 08b10cd287
38 changed files with 418 additions and 166 deletions

View File

@@ -126,6 +126,8 @@ public:
* @see Sequencer
*/
static SequencerBase& Instance();
/** Destruction */
virtual ~SequencerBase();
/**
* Returns true if the running sequencer is blocking any user input.
* This might be only of interest of the GUI where the progress bar or dialog
@@ -205,9 +207,9 @@ protected:
/** construction */
SequencerBase();
SequencerBase(const SequencerBase&) = default;
SequencerBase(SequencerBase&&) = default;
SequencerBase& operator=(const SequencerBase&) = default;
/** Destruction */
virtual ~SequencerBase();
SequencerBase& operator=(SequencerBase&&) = default;
/**
* Sets a text what the pending operation is doing. The default implementation
* does nothing.
@@ -375,7 +377,9 @@ public:
bool wasCanceled() const;
SequencerLauncher(const SequencerLauncher&) = delete;
SequencerLauncher(SequencerLauncher&&) = delete;
void operator=(const SequencerLauncher&) = delete;
void operator=(SequencerLauncher&&) = delete;
};
/** Access to the only SequencerBase instance */