Skip to content

Commit 4232154

Browse files
committed
Try to fix windows builds
1 parent f88b727 commit 4232154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xml_parsing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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. */

0 commit comments

Comments
 (0)