Fixed return warnings (#5410)

This commit is contained in:
Anton Pankratv
2021-05-11 20:02:00 +03:00
committed by GitHub
parent 0dc161ad82
commit 9db7f849df
2 changed files with 3 additions and 3 deletions
@@ -191,7 +191,7 @@ public:
*/
template<typename F>
void SetCompletionCallback(F callbackToSet) {
return SetCallback<F>{*this}(std::move(callbackToSet));
SetCallback<F>{*this}(std::move(callbackToSet));
}
/**
@@ -74,11 +74,11 @@ InferRequest::Ptr ExecutableNetwork::CreateInferRequestPtr() {
}
void ExecutableNetwork::Export(const std::string& modelFileName) {
EXEC_NET_CALL_STATEMENT(return _impl->Export(modelFileName));
EXEC_NET_CALL_STATEMENT(_impl->Export(modelFileName));
}
void ExecutableNetwork::Export(std::ostream& networkModel) {
EXEC_NET_CALL_STATEMENT(return _impl->Export(networkModel));
EXEC_NET_CALL_STATEMENT(_impl->Export(networkModel));
}
CNNNetwork ExecutableNetwork::GetExecGraphInfo() {