File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ ChainableControllerInterface::export_state_interfaces()
6868 }
6969 auto state_interface = std::make_shared<hardware_interface::StateInterface>(interface);
7070 const auto interface_name = state_interface->get_name ();
71- auto [it, succ] = exported_state_interfaces_.insert ({inteface_name , state_interface});
71+ auto [it, succ] = exported_state_interfaces_.insert ({interface_name , state_interface});
7272 // either we have name duplicate which we want to avoid under all circumstances since interfaces
7373 // need to be uniquely identify able or something else really went wrong. In any case abort and
7474 // inform cm by throwing exception
7575 if (!succ)
7676 {
7777 std::string error_msg =
78- " Could not insert StateInterface<" + inteface_name +
78+ " Could not insert StateInterface<" + interface_name +
7979 " > into exported_state_interfaces_ map. Check if you export duplicates. The "
8080 " map returned iterator with interface_name<" +
8181 it->second ->get_name () +
You can’t perform that action at this time.
0 commit comments