don't copy in make_shared in win32_desktop_notifications
This commit is contained in:
parent
e352d735f6
commit
7e9a271852
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>(NotificationData())) {
|
: shared_ptr(make_shared<NotificationData>()) {
|
||||||
get()->controller = controller;
|
get()->controller = controller;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue