Use "= default" for all trivial default ctors and dtors
Replace user-specified empty constructors and destructors with the compiler-generated versions, which has a number of advantages for code generation, in addition to being more clear. Closes #22965. Closes #24058.
This commit is contained in:
parent
16cca70f8f
commit
dede4b9326
356 changed files with 589 additions and 586 deletions
|
|
@ -117,7 +117,7 @@ class WXDLLIMPEXP_CORE wxBitmapHandler : public wxObject
|
|||
{
|
||||
public:
|
||||
wxBitmapHandler() { m_type = wxBITMAP_TYPE_INVALID; }
|
||||
virtual ~wxBitmapHandler() { }
|
||||
virtual ~wxBitmapHandler() = default;
|
||||
|
||||
// NOTE: the following functions should be pure virtuals, but they aren't
|
||||
// because otherwise almost all ports would have to implement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue