From df45aaeb7b52bda9fd3cf1c35a8074fbf1f76355 Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 20 Oct 2022 17:58:46 +0100 Subject: [PATCH] UIViewComponentPeer: Fix warning --- modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm index 359942c723..b83c036e7a 100644 --- a/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm @@ -1926,7 +1926,7 @@ void Desktop::allowedOrientationsChanged() { UIApplication* sharedApplication = [UIApplication sharedApplication]; - const NSUniquePtr preferences { [UIWindowSceneGeometryPreferencesIOS alloc] }; + const NSUniquePtr preferences { [UIWindowSceneGeometryPreferencesIOS alloc] }; [preferences.get() initWithInterfaceOrientations: Orientations::getSupportedOrientations()]; for (UIScene* scene in [sharedApplication connectedScenes])