mirror of
https://github.com/opencv/opencv.git
synced 2025-07-31 18:07:08 +08:00
Changes existential NSStringFromSelector(_cmd) for straightforward __FUCNTION__
This commit is contained in:
parent
517be4bfa9
commit
5a71bde79a
@ -379,13 +379,13 @@
|
|||||||
- (void)createCaptureOutput;
|
- (void)createCaptureOutput;
|
||||||
{
|
{
|
||||||
[NSException raise:NSInternalInconsistencyException
|
[NSException raise:NSInternalInconsistencyException
|
||||||
format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)];
|
format:@"You must override %s in a subclass", __FUNCTION__];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)createCustomVideoPreview;
|
- (void)createCustomVideoPreview;
|
||||||
{
|
{
|
||||||
[NSException raise:NSInternalInconsistencyException
|
[NSException raise:NSInternalInconsistencyException
|
||||||
format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)];
|
format:@"You must override %s in a subclass", __FUNCTION__];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)updateOrientation;
|
- (void)updateOrientation;
|
||||||
|
Loading…
Reference in New Issue
Block a user