From ed3402140610fcd50f858baf7ebaafbfcb5ec2b2 Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Fri, 20 Jan 2017 09:44:46 -0500 Subject: RPC arrays are now immutable --- SmartDeviceLink/SDLResponseDispatcher.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SmartDeviceLink/SDLResponseDispatcher.m') diff --git a/SmartDeviceLink/SDLResponseDispatcher.m b/SmartDeviceLink/SDLResponseDispatcher.m index a1fbd9303..f6e07ea1e 100644 --- a/SmartDeviceLink/SDLResponseDispatcher.m +++ b/SmartDeviceLink/SDLResponseDispatcher.m @@ -115,7 +115,7 @@ NS_ASSUME_NONNULL_BEGIN [self.customButtonHandlerMap removeAllObjects]; } -- (void)sdl_addToCustomButtonHandlerMap:(NSMutableArray *)softButtons { +- (void)sdl_addToCustomButtonHandlerMap:(NSArray *)softButtons { for (SDLSoftButton *sb in softButtons) { if (!sb.softButtonID) { @throw [NSException sdl_missingIdException]; -- cgit v1.2.1