From: Valeriy Van Date: Sun, 28 Aug 2016 09:48:08 +0000 (+0300) Subject: Changes existential NSStringFromSelector(_cmd) for straightforward __FUCNTION__ X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1579^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a71bde79aecccb4eb4f7bb77f377d9f14f53f9c;p=platform%2Fupstream%2Fopencv.git Changes existential NSStringFromSelector(_cmd) for straightforward __FUCNTION__ --- diff --git a/modules/videoio/src/cap_ios_abstract_camera.mm b/modules/videoio/src/cap_ios_abstract_camera.mm index 425032c..79e0c3d 100644 --- a/modules/videoio/src/cap_ios_abstract_camera.mm +++ b/modules/videoio/src/cap_ios_abstract_camera.mm @@ -379,13 +379,13 @@ - (void)createCaptureOutput; { [NSException raise:NSInternalInconsistencyException - format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]; + format:@"You must override %s in a subclass", __FUNCTION__]; } - (void)createCustomVideoPreview; { [NSException raise:NSInternalInconsistencyException - format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]; + format:@"You must override %s in a subclass", __FUNCTION__]; } - (void)updateOrientation;