Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: PawelLiberadzki <[email protected]>
  • Loading branch information
prybicki and PawelLiberadzki authored May 23, 2024
1 parent bc8cfa2 commit 964fcf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/apiCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ RGL_API rgl_status_t rgl_node_multi_return_switch(rgl_node_t* node, rgl_return_t
void TapeCore::tape_node_multi_return_switch(const YAML::Node& yamlNode, PlaybackState& state)
{
auto nodeId = yamlNode[0].as<TapeAPIObjectID>();
auto return_type = (rgl_return_type_t) yamlNode[1].as<int>();
auto return_type = static_cast<rgl_return_type_t>(yamlNode[1].as<int>());
rgl_node_t node = state.nodes.contains(nodeId) ? state.nodes.at(nodeId) : nullptr;
rgl_node_multi_return_switch(&node, return_type);
state.nodes.insert({nodeId, node});
Expand Down

0 comments on commit 964fcf2

Please sign in to comment.