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