Use instancetype.
This commit is contained in:
parent
4fead04d9a
commit
9ae39edeb4
32 changed files with 153 additions and 153 deletions
|
@ -58,7 +58,7 @@
|
|||
* \param connection The XMPPConnection to serve responses on.
|
||||
* \return A new autoreleased XMPPDiscoEntity
|
||||
*/
|
||||
+ discoEntityWithConnection: (XMPPConnection*)connection;
|
||||
+ (instancetype)discoEntityWithConnection: (XMPPConnection*)connection;
|
||||
|
||||
/**
|
||||
* \brief Creates a new autoreleased XMPPDiscoEntity with the specified
|
||||
|
@ -68,8 +68,8 @@
|
|||
* \param capsNode The node advertised for the entity's capabilites
|
||||
* \return A new autoreleased XMPPDiscoEntity
|
||||
*/
|
||||
+ discoEntityWithConnection: (XMPPConnection*)connection
|
||||
capsNode: (OFString*)capsNode;
|
||||
+ (instancetype)discoEntityWithConnection: (XMPPConnection*)connection
|
||||
capsNode: (OFString*)capsNode;
|
||||
|
||||
/**
|
||||
* \brief Initializes an already allocated XMPPDiscoEntity with the specified
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue