Adjust exceptions to ObjFW API change.

This commit is contained in:
Jonathan Schleifer 2013-11-22 21:15:54 +01:00
parent bdd815ec47
commit e763339789
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
} }
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
@property (readonly, assign) OFString *reason; @property (readonly, copy) OFString *reason;
#endif #endif
+ exceptionWithReason: (OFString*)reason; + exceptionWithReason: (OFString*)reason;

View file

@ -74,6 +74,6 @@
- (OFString*)reason - (OFString*)reason
{ {
OF_GETTER(_reason, false) OF_GETTER(_reason, true)
} }
@end @end