Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include class_list_macros.hpp instead of .h #91

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rviz_plugin_tutorials/src/imu_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ void ImuDisplay::processMessage( const sensor_msgs::Imu::ConstPtr& msg )

// Tell pluginlib about this class. It is important to do this in
// global scope, outside our package's namespace.
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>
PLUGINLIB_EXPORT_CLASS(rviz_plugin_tutorials::ImuDisplay,rviz::Display )
// END_TUTORIAL
2 changes: 1 addition & 1 deletion rviz_plugin_tutorials/src/plant_flag_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,6 @@ void PlantFlagTool::load( const rviz::Config& config )

} // end namespace rviz_plugin_tutorials

#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>
PLUGINLIB_EXPORT_CLASS(rviz_plugin_tutorials::PlantFlagTool,rviz::Tool )
// END_TUTORIAL
2 changes: 1 addition & 1 deletion rviz_plugin_tutorials/src/teleop_panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ void TeleopPanel::load( const rviz::Config& config )
// Tell pluginlib about this class. Every class which should be
// loadable by pluginlib::ClassLoader must have these two lines
// compiled in its .cpp file, outside of any namespace scope.
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>
PLUGINLIB_EXPORT_CLASS(rviz_plugin_tutorials::TeleopPanel,rviz::Panel )
// END_TUTORIAL