From 241393ebec5d25e059c3c9267706ef74a59007cd Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Fri, 5 Jun 2020 14:02:47 -0400 Subject: Fix deprecated implementation warning --- Example Apps/Example ObjC/ProxyManager.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m index 17b44568a..2c5c05357 100644 --- a/Example Apps/Example ObjC/ProxyManager.m +++ b/Example Apps/Example ObjC/ProxyManager.m @@ -290,6 +290,8 @@ NS_ASSUME_NONNULL_BEGIN } } +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" - (nullable SDLLifecycleConfigurationUpdate *)managerShouldUpdateLifecycleToLanguage:(SDLLanguage)language { SDLLifecycleConfigurationUpdate *update = [[SDLLifecycleConfigurationUpdate alloc] init]; @@ -306,6 +308,7 @@ NS_ASSUME_NONNULL_BEGIN update.ttsName = [SDLTTSChunk textChunksFromString:update.appName]; return update; } +#pragma clang diagnostic pop - (nullable SDLLifecycleConfigurationUpdate *)managerShouldUpdateLifecycleToLanguage:(SDLLanguage)language hmiLanguage:(SDLLanguage)hmiLanguage { SDLLifecycleConfigurationUpdate *update = [[SDLLifecycleConfigurationUpdate alloc] init]; -- cgit v1.2.1