From 5bd7cde2e69991b5cd9bde424c45e2da5bb34292 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 29 Apr 2018 23:59:56 +0200 Subject: * Formatting and minor code changes * Fixed a memory leak in CF code --- Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h') diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h b/Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h index c2581cca..1ed5fc56 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h @@ -37,7 +37,9 @@ NSTimer *wrappedTimer; } -- (id)initWithInterval:(NSTimeInterval)anInterval target:(id)aTarget selector:(SEL)aSelector; +- (instancetype)initWithInterval:(NSTimeInterval)anInterval target:(id)aTarget selector:(SEL)aSelector NS_DESIGNATED_INITIALIZER; +- (instancetype)init NS_UNAVAILABLE; + - (void)invalidate; @end -- cgit v1.2.3