mirror of
https://github.com/electron/electron.git
synced 2026-02-05 20:55:16 -05:00
fix: use default constructor for NotificationData struct
This commit is contained in:
@@ -426,7 +426,7 @@ void DesktopNotificationController::Notification::Set(std::wstring caption,
|
||||
|
||||
DesktopNotificationController::NotificationLink::NotificationLink(
|
||||
DesktopNotificationController* controller)
|
||||
: shared_ptr(make_shared<NotificationData>()) {
|
||||
: shared_ptr(make_shared<NotificationData>(NotificationData())) {
|
||||
get()->controller = controller;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user