Skip to content

Commit 3c8e446

Browse files
authored
Merge pull request KumarRobotics#72 from msamogh/master
Fix compilation error on ROS Melodic on Ubuntu 18.04
2 parents a9386c5 + 8ed6091 commit 3c8e446

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/image_processor_nodelet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ void ImageProcessorNodelet::onInit() {
1717
return;
1818
}
1919

20-
PLUGINLIB_DECLARE_CLASS(msckf_vio, ImageProcessorNodelet,
21-
msckf_vio::ImageProcessorNodelet, nodelet::Nodelet);
20+
PLUGINLIB_EXPORT_CLASS(msckf_vio::ImageProcessorNodelet,
21+
nodelet::Nodelet);
2222

2323
} // end namespace msckf_vio
2424

src/msckf_vio_nodelet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ void MsckfVioNodelet::onInit() {
1717
return;
1818
}
1919

20-
PLUGINLIB_DECLARE_CLASS(msckf_vio, MsckfVioNodelet,
21-
msckf_vio::MsckfVioNodelet, nodelet::Nodelet);
20+
PLUGINLIB_EXPORT_CLASS(msckf_vio::MsckfVioNodelet,
21+
nodelet::Nodelet);
2222

2323
} // end namespace msckf_vio
2424

0 commit comments

Comments
 (0)