aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-04-29 23:59:56 +0200
committerMax <dmoagx@users.noreply.github.com>2018-04-29 23:59:56 +0200
commit5bd7cde2e69991b5cd9bde424c45e2da5bb34292 (patch)
tree26d0fe949a2184339796eaef86bebc3b730b507a /Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h
parentfc3e74c1e3f650e6efd3ddcce24d9e2c4d37c048 (diff)
downloadsequelpro-5bd7cde2e69991b5cd9bde424c45e2da5bb34292.tar.gz
sequelpro-5bd7cde2e69991b5cd9bde424c45e2da5bb34292.tar.bz2
sequelpro-5bd7cde2e69991b5cd9bde424c45e2da5bb34292.zip
* Formatting and minor code changes
* Fixed a memory leak in CF code
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLKeepAliveTimer.h4
1 files changed, 3 insertions, 1 deletions
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