From 9417021177dc352b70029499e77d928bcdfa4155 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 23 Apr 2019 11:28:18 +0100 Subject: [PATCH] Android: Fixed a compile error in PushNotificationsDemo.h --- examples/Utilities/PushNotificationsDemo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Utilities/PushNotificationsDemo.h b/examples/Utilities/PushNotificationsDemo.h index 6bf54d312c..56065a998b 100644 --- a/examples/Utilities/PushNotificationsDemo.h +++ b/examples/Utilities/PushNotificationsDemo.h @@ -260,7 +260,7 @@ private: #if JUCE_ANDROID // Note: this is not strictly speaking required param, just doing it here because it is the fastest way! - n.publicVersion = new PushNotifications::Notification(); + n.publicVersion.reset (new PushNotifications::Notification()); n.publicVersion->identifier = "blahblahblah"; n.publicVersion->title = "Public title!"; n.publicVersion->body = "Public body!";