summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLV2ProtocolMessage.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-09-22 12:34:26 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-09-22 12:34:26 -0700
commit8676a8a3b66c0ce4a1f48e1fdb1854a155d6f5c2 (patch)
treebf05c08cd20af985c5f996c9d4a2be8f12cd44cf /SmartDeviceLink/SDLV2ProtocolMessage.m
parent90c51bf63042326daae4e01dd569a460b8a73f24 (diff)
downloadsdl_ios-8676a8a3b66c0ce4a1f48e1fdb1854a155d6f5c2.tar.gz
Updated SDLFunctionID to be a singleton.
Diffstat (limited to 'SmartDeviceLink/SDLV2ProtocolMessage.m')
-rw-r--r--SmartDeviceLink/SDLV2ProtocolMessage.m2
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];