aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2019-12-12 12:38:06 -0500
committerGravatar Benjamin Barenblat <bbaren@google.com>2019-12-12 12:38:06 -0500
commitacb53701b151d204011a5a05b7108fa0be00ac02 (patch)
tree470793530ca9647e2f2da7253eaa44c9777cd20a /src
parentaaddeaf20e520d66d8a9821fde9fb09ed77d4526 (diff)
Fix superclass for MCONNTPDisconnectOperationHEADmaster
If MCONNTPDisconnectOperation inherits from NSObject, MCONNTPDisconnectOperation+mco_objectWithMCObject: will call a method that doesn’t exist (-initWithMCOperation:). Set it to extend MCONNTPOperation instead.
Diffstat (limited to 'src')
-rw-r--r--src/objc/nntp/MCONNTPDisconnectOperation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objc/nntp/MCONNTPDisconnectOperation.h b/src/objc/nntp/MCONNTPDisconnectOperation.h
index 7d8986bb..5ee5880c 100644
--- a/src/objc/nntp/MCONNTPDisconnectOperation.h
+++ b/src/objc/nntp/MCONNTPDisconnectOperation.h
@@ -14,7 +14,7 @@
#import <MailCore/MCONNTPOperation.h>
/* The class is used to perform a disconnect operation. */
-@interface MCONNTPDisconnectOperation : NSObject
+@interface MCONNTPDisconnectOperation : MCONNTPOperation
@end