diff --git a/src/behavior_tree.cpp b/src/behavior_tree.cpp index 9fc8809d4..ee060378a 100644 --- a/src/behavior_tree.cpp +++ b/src/behavior_tree.cpp @@ -20,7 +20,7 @@ void applyRecursiveVisitor(const TreeNode* node, { if (!node) { - throw LogicError("One of the children of a DecoratorNode or ControlNode is nulltr"); + throw LogicError("One of the children of a DecoratorNode or ControlNode is nullptr"); } visitor(node); @@ -42,7 +42,7 @@ void applyRecursiveVisitor(TreeNode* node, const std::function& { if (!node) { - throw LogicError("One of the children of a DecoratorNode or ControlNode is nulltr"); + throw LogicError("One of the children of a DecoratorNode or ControlNode is nullptr"); } visitor(node);