File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rclcpp/src/rclcpp/node_interfaces Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -547,7 +547,7 @@ NodeParameters::undeclare_parameter(const std::string & name)
547547 }
548548 if (!parameter_info->second .descriptor .dynamic_typing ) {
549549 throw rclcpp::exceptions::InvalidParameterTypeException{
550- name, " cannot undeclare an statically typed parameter" };
550+ name, " cannot undeclare a statically typed parameter" };
551551 }
552552
553553 parameters_.erase (parameter_info);
@@ -702,7 +702,7 @@ NodeParameters::set_parameters_atomically(const std::vector<rclcpp::Parameter> &
702702 auto it = parameters_.find (parameter.get_name ());
703703 if (it != parameters_.end () && rclcpp::PARAMETER_NOT_SET != it->second .value .get_type ()) {
704704 if (!it->second .descriptor .dynamic_typing ) {
705- result.reason = " cannot undeclare an statically typed parameter" ;
705+ result.reason = " cannot undeclare a statically typed parameter" ;
706706 result.successful = false ;
707707 return result;
708708 }
You can’t perform that action at this time.
0 commit comments