From 3767ee3811970034afc3b6051a9728141fadc309 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Tue, 28 May 2019 11:45:49 +0100 Subject: [PATCH] Fixed some compiler warnings in PushNotificationsDemo --- examples/Utilities/PushNotificationsDemo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Utilities/PushNotificationsDemo.h b/examples/Utilities/PushNotificationsDemo.h index 107ff5bf10..7de0da7614 100644 --- a/examples/Utilities/PushNotificationsDemo.h +++ b/examples/Utilities/PushNotificationsDemo.h @@ -176,11 +176,11 @@ public: auxActionsView.removeAllDeliveredNotifsButton .onClick = [] { PushNotifications::getInstance()->removeAllDeliveredNotifications(); }; #if JUCE_IOS || JUCE_MAC - auxActionsView.getPendingNotificationsButton .onClick = [this] + auxActionsView.getPendingNotificationsButton .onClick = [] { PushNotifications::getInstance()->getPendingLocalNotifications(); }; auxActionsView.removePendingNotifWithIdButton.onClick = [this] { PushNotifications::getInstance()->removePendingLocalNotification (auxActionsView.pendingNotifIdentifier.getText()); }; - auxActionsView.removeAllPendingNotifsButton .onClick = [this] + auxActionsView.removeAllPendingNotifsButton .onClick = [] { PushNotifications::getInstance()->removeAllPendingLocalNotifications(); }; #endif