Skip to content

Commit

Permalink
Fix compilation error on older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
postrational committed Aug 26, 2021
1 parent c4de8b7 commit b0171e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnx/shape_inference/implementation.h
Expand Up @@ -273,7 +273,7 @@ struct DataPropagationContextImpl : public DataPropagationContext {
const std::unordered_map<std::string, TypeProto*>& valueTypesByName,
const std::unordered_map<std::string, const TensorProto*>& inputDataByName,
std::unordered_map<std::string, TensorShapeProto>& generatedShapeData)
: generatedShapeData_{generatedShapeData} {
: generatedShapeData_(generatedShapeData) {
size_t input_idx = 0;

for (auto& attr : *n.mutable_attribute()) {
Expand Down

0 comments on commit b0171e1

Please sign in to comment.