diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-22 12:34:26 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-22 12:34:26 -0700 |
commit | 8676a8a3b66c0ce4a1f48e1fdb1854a155d6f5c2 (patch) | |
tree | bf05c08cd20af985c5f996c9d4a2be8f12cd44cf /SmartDeviceLink/SDLV2ProtocolMessage.m | |
parent | 90c51bf63042326daae4e01dd569a460b8a73f24 (diff) | |
download | sdl_ios-8676a8a3b66c0ce4a1f48e1fdb1854a155d6f5c2.tar.gz |
Updated SDLFunctionID to be a singleton.
Diffstat (limited to 'SmartDeviceLink/SDLV2ProtocolMessage.m')
-rw-r--r-- | SmartDeviceLink/SDLV2ProtocolMessage.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLV2ProtocolMessage.m b/SmartDeviceLink/SDLV2ProtocolMessage.m index 5f1aa5492..e8e89e259 100644 --- a/SmartDeviceLink/SDLV2ProtocolMessage.m +++ b/SmartDeviceLink/SDLV2ProtocolMessage.m @@ -33,7 +33,7 @@ // Create the inner dictionary with the RPC properties NSMutableDictionary *innerDictionary = [[NSMutableDictionary alloc] init]; - NSString *functionName = [[[SDLFunctionID alloc] init] getFunctionName:rpcPayload.functionID]; + NSString *functionName = [[SDLFunctionID sharedInstance] functionNameForId:rpcPayload.functionID]; [innerDictionary setObject:functionName forKey:SDLNameOperationName]; [innerDictionary setObject:[NSNumber numberWithInt:rpcPayload.correlationID] forKey:SDLNameCorrelationId]; |