fix: use default constructor for NotificationData struct

This commit is contained in:
Samuel Attard 2019-03-22 01:19:26 -07:00
parent 43dc4e8a13
commit e352d735f6

View file

@ -426,7 +426,7 @@ void DesktopNotificationController::Notification::Set(std::wstring caption,
DesktopNotificationController::NotificationLink::NotificationLink( DesktopNotificationController::NotificationLink::NotificationLink(
DesktopNotificationController* controller) DesktopNotificationController* controller)
: shared_ptr(make_shared<NotificationData>()) { : shared_ptr(make_shared<NotificationData>(NotificationData())) {
get()->controller = controller; get()->controller = controller;
} }