Merge pull request #72 from msamogh/master

Fix compilation error on ROS Melodic on Ubuntu 18.04
This commit is contained in:
Ke Sun 2018-12-30 19:55:06 -05:00 committed by GitHub
commit 3c8e446f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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