Several small code improvements

This commit is contained in:
Markus Gans 2020-04-15 00:28:18 +02:00
parent 90b389035e
commit 9b654768aa
2 changed files with 8 additions and 8 deletions

View File

@ -44,14 +44,14 @@ class ProgressDialog final : public finalcut::FDialog
// Constructor
explicit ProgressDialog (finalcut::FWidget* = nullptr);
// Copy constructor
ProgressDialog (const ProgressDialog&) = default;
// Disable copy constructor
ProgressDialog (const ProgressDialog&) = delete;
// Destructor
~ProgressDialog() override;
// Assignment operator (=)
ProgressDialog& operator = (const ProgressDialog&) = default;
// Disable assignment operator (=)
ProgressDialog& operator = (const ProgressDialog&) = delete;
private:
// Event handlers

View File

@ -166,14 +166,14 @@ class Window final : public finalcut::FDialog
// Constructor
explicit Window (finalcut::FWidget* = nullptr);
// Copy constructor
Window (const Window&) = default;
// Disable copy constructor
Window (const Window&) = delete;
// Destructor
~Window() override;
// Assignment operator (=)
Window& operator = (const Window&) = default;
// Disable assignment operator (=)
Window& operator = (const Window&) = delete;
private:
// Typedefs