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 @@ -651,7 +651,7 @@ NodeParameters::undeclare_parameter(const std::string & name)
651651 }
652652 if (!parameter_info->second .descriptor .dynamic_typing ) {
653653 throw rclcpp::exceptions::InvalidParameterTypeException{
654- name, " cannot undeclare an statically typed parameter" };
654+ name, " cannot undeclare a statically typed parameter" };
655655 }
656656
657657 parameters_.erase (parameter_info);
@@ -824,7 +824,7 @@ NodeParameters::set_parameters_atomically(const std::vector<rclcpp::Parameter> &
824824 auto it = parameters_.find (parameter.get_name ());
825825 if (it != parameters_.end () && rclcpp::PARAMETER_NOT_SET != it->second .value .get_type ()) {
826826 if (!it->second .descriptor .dynamic_typing ) {
827- result.reason = " cannot undeclare an statically typed parameter" ;
827+ result.reason = " cannot undeclare a statically typed parameter" ;
828828 result.successful = false ;
829829 return result;
830830 }
You can’t perform that action at this time.
0 commit comments