From 59b28b4872123d8d6db8580034fcfa552c0246a8 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Tue, 2 Nov 2021 13:24:47 +0100 Subject: [PATCH] Added require call to super --- MacPass/MPPlugin.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MacPass/MPPlugin.h b/MacPass/MPPlugin.h index a7cf5029..f8dd7b48 100644 --- a/MacPass/MPPlugin.h +++ b/MacPass/MPPlugin.h @@ -49,7 +49,7 @@ FOUNDATION_EXPORT NSString *const MPPluginDescriptionInfoDictionaryKey; @param host plugin host hosting the pluing - MacPass @return the plugin instance ready for use */ -- (instancetype)initWithPluginHost:(MPPluginHost *)host NS_DESIGNATED_INITIALIZER; +- (instancetype)initWithPluginHost:(MPPluginHost *)host NS_DESIGNATED_INITIALIZER NS_REQUIRES_SUPER; - (instancetype)init NS_UNAVAILABLE; - (void)didLoadPlugin; @@ -81,7 +81,6 @@ FOUNDATION_EXPORT NSString *const MPPluginDescriptionInfoDictionaryKey; - (NSString *)windowTitleForRunningApplication:(NSRunningApplication *)runningApplication; @end - #pragma mark Proposed Plugin Protocolls /*