1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

MacOS: Suppress deprecation warnings related to NSUserNotification

All NSUserNotification related classes have been deprecated in MacOS 11,
and this class will have to be revamped to use the new User
Notifications framework. We are suppressing the warnings for the time
being.
This commit is contained in:
attila 2024-10-02 16:38:14 +02:00
parent 46eed81aae
commit 171edbec7f

View file

@ -35,6 +35,8 @@
namespace juce
{
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wdeprecated-declarations")
namespace PushNotificationsDelegateDetailsOsx
{
using Action = PushNotifications::Notification::Action;
@ -532,4 +534,6 @@ private:
PushNotifications::Settings settings;
};
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
} // namespace juce