refactor: use C++11 class member variable initialization (#27477)
This commit is contained in:
parent
f083380c38
commit
ddf3ef0a5f
93 changed files with 130 additions and 163 deletions
|
@ -18,8 +18,7 @@
|
|||
|
||||
namespace electron {
|
||||
|
||||
MenuDelegate::MenuDelegate(MenuBar* menu_bar)
|
||||
: menu_bar_(menu_bar), id_(-1), hold_first_switch_(false) {}
|
||||
MenuDelegate::MenuDelegate(MenuBar* menu_bar) : menu_bar_(menu_bar) {}
|
||||
|
||||
MenuDelegate::~MenuDelegate() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue