Skip to content

Commit

Permalink
use class_list_macros.hpp instead of deprecated .h (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw authored Apr 15, 2024
1 parent 6c4ce99 commit b6994d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spot_viz/src/look_at_point_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ int LookAtPointTool::processMouseEvent(rviz::ViewportMouseEvent &event) {

} // namespace spot_viz

#include <pluginlib/class_list_macros.h>
PLUGINLIB_EXPORT_CLASS(spot_viz::LookAtPointTool, rviz::Tool)
#include <pluginlib/class_list_macros.hpp>
PLUGINLIB_EXPORT_CLASS(spot_viz::LookAtPointTool, rviz::Tool)
2 changes: 1 addition & 1 deletion spot_viz/src/spot_panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,6 @@ namespace spot_viz
}
} // end namespace spot_viz

#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>
PLUGINLIB_EXPORT_CLASS(spot_viz::ControlPanel, rviz::Panel)
// END_TUTORIAL

0 comments on commit b6994d2

Please # to comment.