File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ std::string xsdAttributeType(const BT::PortInfo& port_info)
5353 return " blackboardType" ;
5454 }
5555 const auto & type_info = port_info.type ();
56- if ((type_info == typeid (int )) or (type_info == typeid (unsigned int )))
56+ if ((type_info == typeid (int )) || (type_info == typeid (unsigned int )))
5757 {
5858 return " integerOrBlackboardType" ;
5959 }
@@ -1444,7 +1444,7 @@ std::string writeTreeXSD(const BehaviorTreeFactory& factory)
14441444 {
14451445 XMLElement* type = doc.NewElement (" xs:complexType" );
14461446 type->SetAttribute (" name" , (model->registration_ID + " Type" ).c_str ());
1447- if ((model->type == NodeType::ACTION) or (model->type == NodeType::CONDITION) or
1447+ if ((model->type == NodeType::ACTION) || (model->type == NodeType::CONDITION) ||
14481448 (model->type == NodeType::SUBTREE))
14491449 {
14501450 /* No children, nothing to add. */
You can’t perform that action at this time.
0 commit comments