diff options
Diffstat (limited to 'SmartDeviceLink/SDLV1ProtocolHeader.m')
-rw-r--r-- | SmartDeviceLink/SDLV1ProtocolHeader.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLV1ProtocolHeader.m b/SmartDeviceLink/SDLV1ProtocolHeader.m index d716c0c98..1de39fb29 100644 --- a/SmartDeviceLink/SDLV1ProtocolHeader.m +++ b/SmartDeviceLink/SDLV1ProtocolHeader.m @@ -6,6 +6,8 @@ const int V1PROTOCOL_HEADERSIZE = 8; +NS_ASSUME_NONNULL_BEGIN + @implementation SDLV1ProtocolHeader - (instancetype)init { @@ -39,7 +41,7 @@ const int V1PROTOCOL_HEADERSIZE = 8; return dataOut; } -- (id)copyWithZone:(NSZone *)zone { +- (id)copyWithZone:(nullable NSZone *)zone { SDLV1ProtocolHeader *newHeader = [[SDLV1ProtocolHeader allocWithZone:zone] init]; newHeader.encrypted = self.encrypted; newHeader.frameType = self.frameType; @@ -82,3 +84,5 @@ const int V1PROTOCOL_HEADERSIZE = 8; @end + +NS_ASSUME_NONNULL_END |