BehaviorTree / Groot

Graphical Editor to create BehaviorTrees. Compliant with BehaviorTree.CPP
718 stars 237 forks source link

this error when building Groot #169

Open langya19 opened 2 years ago

langya19 commented 2 years ago

In function ‘bool VerifyXML(QDomDocument&, const std::vector<QString>&, std::vector<QString>&)’: /Groot/bt_editor/XML_utilities.cpp:199:33: error: invalid initialization of reference of type ‘const std::unordered_map<std::__cxx11::basic_string<char>, BT::NodeType>&’ from expression of type ‘std::set<std::__cxx11::basic_string<char> >’ 199 | BT::VerifyXML(xml_text, registered_nodes); // may throw last time, i succeed to build it, this time has a error, how to solve?