From e352d735f67e88e5ac426b3588a98b25801ca0a6 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 22 Mar 2019 01:19:26 -0700 Subject: [PATCH] fix: use default constructor for NotificationData struct --- .../desktop_notification_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc b/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc index 6810d0fb5c..bb62549346 100644 --- a/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc +++ b/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc @@ -426,7 +426,7 @@ void DesktopNotificationController::Notification::Set(std::wstring caption, DesktopNotificationController::NotificationLink::NotificationLink( DesktopNotificationController* controller) - : shared_ptr(make_shared()) { + : shared_ptr(make_shared(NotificationData())) { get()->controller = controller; }