summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCStruct.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLRPCStruct.m')
-rw-r--r--SmartDeviceLink/SDLRPCStruct.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLRPCStruct.m b/SmartDeviceLink/SDLRPCStruct.m
index aab0be7f3..411df6231 100644
--- a/SmartDeviceLink/SDLRPCStruct.m
+++ b/SmartDeviceLink/SDLRPCStruct.m
@@ -33,12 +33,12 @@
NSMutableDictionary *function = [store objectForKey:messageType];
if ([function isKindOfClass:NSMutableDictionary.class]) {
NSMutableDictionary *parameters = [function objectForKey:SDLNameParameters];
- return [self sdl_serializeDictionary:parameters version:version];
+ return [self.class sdl_serializeDictionary:parameters version:version];
} else {
- return [self sdl_serializeDictionary:store version:version];
+ return [self.class sdl_serializeDictionary:store version:version];
}
} else {
- return [self sdl_serializeDictionary:store version:version];
+ return [self.class sdl_serializeDictionary:store version:version];
}
}
@@ -46,7 +46,7 @@
return [store description];
}
-- (NSDictionary *)sdl_serializeDictionary:(NSDictionary *)dict version:(Byte)version {
++ (NSDictionary *)sdl_serializeDictionary:(NSDictionary *)dict version:(Byte)version {
NSMutableDictionary *ret = [NSMutableDictionary dictionaryWithCapacity:dict.count];
for (NSString *key in [dict keyEnumerator]) {
NSObject *value = [dict objectForKey:key];