chore: use =default for default constructors/destructors (#29511)

This commit is contained in:
David Sanders 2021-06-03 21:16:13 -07:00 committed by GitHub
parent b1d1ac6524
commit 81c5da5221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 68 additions and 61 deletions

View file

@ -23,7 +23,7 @@ ElectronDesktopWindowTreeHostWin::ElectronDesktopWindowTreeHostWin(
desktop_native_widget_aura),
native_window_view_(native_window_view) {}
ElectronDesktopWindowTreeHostWin::~ElectronDesktopWindowTreeHostWin() {}
ElectronDesktopWindowTreeHostWin::~ElectronDesktopWindowTreeHostWin() = default;
bool ElectronDesktopWindowTreeHostWin::PreHandleMSG(UINT message,
WPARAM w_param,

View file

@ -55,9 +55,9 @@ TaskbarHost::ThumbarButton::ThumbarButton(const TaskbarHost::ThumbarButton&) =
default;
TaskbarHost::ThumbarButton::~ThumbarButton() = default;
TaskbarHost::TaskbarHost() {}
TaskbarHost::TaskbarHost() = default;
TaskbarHost::~TaskbarHost() {}
TaskbarHost::~TaskbarHost() = default;
bool TaskbarHost::SetThumbarButtons(HWND window,
const std::vector<ThumbarButton>& buttons) {