fix: use default constructor for NotificationData struct
This commit is contained in:
parent
43dc4e8a13
commit
e352d735f6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue