Maybe fix CI?

This commit is contained in:
Victor Tran 2020-08-03 23:57:04 +10:00
parent a2b51a1600
commit 3bd92ac4cb

View file

@ -18,8 +18,6 @@
#include <Sdkddkver.h>
#pragma comment(lib, "windowsapp")
#undef NTDDI_VERSION
#define NTDDI_VERSION NTDDI_WIN10
@ -84,7 +82,7 @@ void tNotification::post(bool deleteWhenDone) {
toastXml.LoadXml(xmlContents.toStdWString());
ToastNotification toast(toastXml);
toast.Dismissed([=](const ToastNotification& sender, const ToastDismissedEventArgs& args) {
toast.Dismissed([=](ToastNotification sender, ToastDismissedEventArgs args) {
if (isTransient && args.Reason() != ToastDismissalReason::ApplicationHidden) {
ToastNotificationManager::CreateToastNotifier(amuid.toStdWString()).Hide(sender);