-
Notifications
You must be signed in to change notification settings - Fork 56
CVS-177904: Address code review comments for backend_manager.cc #881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ovep-develop
Are you sure you want to change the base?
CVS-177904: Address code review comments for backend_manager.cc #881
Conversation
| if (it == proto_initializer_map.end()) | ||
| continue; | ||
|
|
||
| auto* proto_init = it->second; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please make this a reference for consistency? You check below with a direct iterator use can be moved up.
|
The changes look good. Also getting Dmitri to review this to ensure it meets his review comment. |
…check, and add braces around if/else with a macro
19b999b to
608746a
Compare
Refactor LoadFileToMemory to return std::optional, enabling explicit error handling for file loading failures. Update tests to assert successful file loads and access data via optionals.
|
Looks good to me |
Motivation and Context
CVS-177904, CVS-174602