Skip to content

Commit

Permalink
Allow letting value field empty for numeric ports
Browse files Browse the repository at this point in the history
  • Loading branch information
corot committed Aug 5, 2024
1 parent 2a8a226 commit 317ae5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml_parsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ TreeNode::Ptr XMLParser::PImpl::createNodeFromXML(const XMLElement* element,
"] is found in the XML, but not in the "
"providedPorts()"));
}
else
else if(!port_value.empty())
{
const auto& port_model = port_model_it->second;
bool is_blacbkboard = port_value.size() >= 3 && port_value.front() == '{' &&
Expand Down

0 comments on commit 317ae5d

Please sign in to comment.