Skip to content

Commit

Permalink
Try to fix dangling reference flagged by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewDaggitt committed Jan 24, 2025
1 parent 9cf8189 commit 0e1728f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input_parsers/OnnxParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ int getRequiredIntAttribute( onnx::NodeProto &node, String name )
return attr->i();
}

const onnx::TensorProto &getTensorAttribute( onnx::NodeProto &node, String name )
const onnx::TensorProto getTensorAttribute( onnx::NodeProto &node, String name )
{
const onnx::AttributeProto *attr =
findAttribute( node, name, onnx::AttributeProto_AttributeType_TENSOR );
Expand Down

0 comments on commit 0e1728f

Please sign in to comment.