Skip to content

Commit

Permalink
TopoVars: trim whitespace when reading XML
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx authored and AnarManafov committed Jun 17, 2022
1 parent f5190db commit eb6b165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dds-topology-lib/src/TopoVars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void CTopoVars::initFromXML(const string& _filepath)
if (stream.is_open())
{
m_pPropTreePtr = make_unique<propTreePtr_t::element_type>();
read_xml(stream, *m_pPropTreePtr, xml_parser::no_comments);
read_xml(stream, *m_pPropTreePtr, xml_parser::no_comments|xml_parser::trim_whitespace);
stream.seekg(0);

initFromPropertyTree(*m_pPropTreePtr);
Expand Down

0 comments on commit eb6b165

Please sign in to comment.