aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResult.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/SPMySQLStreamingResult.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/SPMySQLStreamingResult.h')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResult.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResult.h b/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResult.h
index 11ca417c..3f2f1873 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResult.h
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResult.h
@@ -46,7 +46,8 @@
@property (readonly, assign) BOOL dataDownloaded;
-- (id)initWithMySQLResult:(void *)theResult stringEncoding:(NSStringEncoding)theStringEncoding connection:(SPMySQLConnection *)theConnection;
+- (instancetype)initWithMySQLResult:(void *)theResult stringEncoding:(NSStringEncoding)theStringEncoding connection:(SPMySQLConnection *)theConnection;
+- (instancetype)initWithMySQLResult:(void *)theResult stringEncoding:(NSStringEncoding)theStringEncoding NS_UNAVAILABLE;
// Allow result fetching to be cancelled
- (void)cancelResultLoad;