Added default case to running mode check
This commit is contained in:
parent
328fe4ed39
commit
1cd3c05fc5
|
@ -58,8 +58,14 @@ using ::mediapipe::CalculatorGraphConfig;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default: {
|
||||||
break
|
[MPPCommonUtils
|
||||||
|
createCustomError:error
|
||||||
|
withCode:MPPTasksErrorCodeInvalidArgumentError
|
||||||
|
description:
|
||||||
|
@"Unrecognized running mode"];
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_runningMode = runningMode;
|
_runningMode = runningMode;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user