Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
  • Loading branch information
skucheria committed Jul 16, 2019
1 parent bb4ca14 commit d7ef517
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 44 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
#
# usage: rclcpp_components_register_node(
# <target> <component> <node>)
# <target> PLUGIN <component> EXECUTABLE <node>)
#
# Register an rclcpp component with the ament
# resource index and create an executable.
Expand Down
5 changes: 1 addition & 4 deletions rclcpp_components/src/node_main.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main(int argc, char * argv[])
"",
};
std::string className = "rclcpp_components::NodeFactoryTemplate<@CLASS_NAME@>";
for (auto library : libraries) {
for (const auto & library : libraries) {
RCLCPP_DEBUG(logger, "Loading library %s", library.c_str());
auto loader = new class_loader::ClassLoader(library);
auto classes = loader->getAvailableClasses<rclcpp_components::NodeFactory>();
Expand All @@ -65,9 +65,6 @@ int main(int argc, char * argv[])
exec.remove_node(wrapper.get_node_base_interface());
}
node_wrappers.clear();

rclcpp::shutdown();


return 0;
}

0 comments on commit d7ef517

Please sign in to comment.