diff --git a/include/behaviortree_cpp/utils/safe_any.hpp b/include/behaviortree_cpp/utils/safe_any.hpp index 3a87caf8f..41116b637 100644 --- a/include/behaviortree_cpp/utils/safe_any.hpp +++ b/include/behaviortree_cpp/utils/safe_any.hpp @@ -458,7 +458,6 @@ inline nonstd::expected Any::stringToNumber() const return nonstd::make_unexpected("Any failed string to number conversion"); } #endif - return nonstd::make_unexpected("Any conversion from string failed"); } template