Skip to content

Commit

Permalink
Fix compilation error on older compilers (#3683)
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Karzynski <michal.karzynski@intel.com>

Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
Co-authored-by: Ashwini Khade <askhade@microsoft.com>
  • Loading branch information
3 people committed Sep 3, 2021
1 parent 91bf3f5 commit 780188f
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 780188f

Please sign in to comment.