From b0171e184f98ed322629208778f1594401e7d0c9 Mon Sep 17 00:00:00 2001 From: Michal Karzynski Date: Thu, 26 Aug 2021 13:35:14 +0200 Subject: [PATCH] Fix compilation error on older compilers --- onnx/shape_inference/implementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnx/shape_inference/implementation.h b/onnx/shape_inference/implementation.h index f6cbc0a1215..4ec0a427c83 100644 --- a/onnx/shape_inference/implementation.h +++ b/onnx/shape_inference/implementation.h @@ -273,7 +273,7 @@ struct DataPropagationContextImpl : public DataPropagationContext { const std::unordered_map& valueTypesByName, const std::unordered_map& inputDataByName, std::unordered_map& generatedShapeData) - : generatedShapeData_{generatedShapeData} { + : generatedShapeData_(generatedShapeData) { size_t input_idx = 0; for (auto& attr : *n.mutable_attribute()) {