Fixed issues for ObjC use (see #1011)

This commit is contained in:
Phil Nash 2017-09-19 14:38:18 +01:00
parent a63b4a75bd
commit b9ff7ec301
2 changed files with 172 additions and 172 deletions

View file

@ -30,7 +30,7 @@ namespace Catch {
return tryTranslators();
}
@catch (NSException *exception) {
return Catch::toString( [exception description] );
return Catch::Detail::stringify( [exception description] );
}
#else
return tryTranslators();