From d830d2a0a779c681f73b28043d4e49eb944bf9a0 Mon Sep 17 00:00:00 2001 From: HansRobo Date: Sat, 14 Mar 2020 11:37:32 +0900 Subject: [PATCH] Fix error message --- src/behavior_tree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);