Adjust exceptions to ObjFW API change.
This commit is contained in:
parent
bdd815ec47
commit
e763339789
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -74,6 +74,6 @@
|
||||||
|
|
||||||
- (OFString*)reason
|
- (OFString*)reason
|
||||||
{
|
{
|
||||||
OF_GETTER(_reason, false)
|
OF_GETTER(_reason, true)
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
Reference in a new issue