diff --git a/src/image_processor_nodelet.cpp b/src/image_processor_nodelet.cpp index e172693..6deb1ed 100644 --- a/src/image_processor_nodelet.cpp +++ b/src/image_processor_nodelet.cpp @@ -17,8 +17,8 @@ void ImageProcessorNodelet::onInit() { return; } -PLUGINLIB_DECLARE_CLASS(msckf_vio, ImageProcessorNodelet, - msckf_vio::ImageProcessorNodelet, nodelet::Nodelet); +PLUGINLIB_EXPORT_CLASS(msckf_vio::ImageProcessorNodelet, + nodelet::Nodelet); } // end namespace msckf_vio diff --git a/src/msckf_vio_nodelet.cpp b/src/msckf_vio_nodelet.cpp index dfbb54c..f8eef5e 100644 --- a/src/msckf_vio_nodelet.cpp +++ b/src/msckf_vio_nodelet.cpp @@ -17,8 +17,8 @@ void MsckfVioNodelet::onInit() { return; } -PLUGINLIB_DECLARE_CLASS(msckf_vio, MsckfVioNodelet, - msckf_vio::MsckfVioNodelet, nodelet::Nodelet); +PLUGINLIB_EXPORT_CLASS(msckf_vio::MsckfVioNodelet, + nodelet::Nodelet); } // end namespace msckf_vio