diff --git a/Plugins/common/HDLParser/MetaComponent.cpp b/Plugins/common/HDLParser/MetaComponent.cpp index dee232701..f17ce54eb 100644 --- a/Plugins/common/HDLParser/MetaComponent.cpp +++ b/Plugins/common/HDLParser/MetaComponent.cpp @@ -166,7 +166,8 @@ void MetaComponent::sortParameters(QSharedPointerbegin(), sortParameters->end(), - [¤tValue](auto referenced) { return currentValue.contains(referenced->getValueId()); }); + [¤tValue](QSharedPointer referenced) { return currentValue.contains( + referenced->getValueId()); }); // If none found, next search starts from the beginning. if (startPosition == sortParameters->end()) @@ -175,7 +176,8 @@ void MetaComponent::sortParameters(QSharedPointerend(), - [¤tValue](auto referencing) { return referencing->getValue().contains(currentValue); }); + [¤tValue](QSharedPointer referencing){ return referencing->getValue().contains( + currentValue); }); // Move to end of the list, unless referencing parameter is found. int target = sortParameters->size();