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
|
@ -14,7 +14,7 @@ NotificationOptions::~NotificationOptions() = default;
|
|||
|
||||
Notification::Notification(NotificationDelegate* delegate,
|
||||
NotificationPresenter* presenter)
|
||||
: delegate_(delegate), presenter_(presenter), weak_factory_(this) {}
|
||||
: delegate_(delegate), presenter_(presenter) {}
|
||||
|
||||
Notification::~Notification() {
|
||||
if (delegate())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue