Use PLUGINLIB_EXPORT_CLASS to fix compilation error on ROS Melodic on Ubuntu 18.04
This commit is contained in:
		@@ -17,8 +17,8 @@ void ImageProcessorNodelet::onInit() {
 | 
				
			|||||||
  return;
 | 
					  return;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PLUGINLIB_DECLARE_CLASS(msckf_vio, ImageProcessorNodelet,
 | 
					PLUGINLIB_EXPORT_CLASS(msckf_vio::ImageProcessorNodelet,
 | 
				
			||||||
    msckf_vio::ImageProcessorNodelet, nodelet::Nodelet);
 | 
					    nodelet::Nodelet);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} // end namespace msckf_vio
 | 
					} // end namespace msckf_vio
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,8 +17,8 @@ void MsckfVioNodelet::onInit() {
 | 
				
			|||||||
  return;
 | 
					  return;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PLUGINLIB_DECLARE_CLASS(msckf_vio, MsckfVioNodelet,
 | 
					PLUGINLIB_EXPORT_CLASS(msckf_vio::MsckfVioNodelet,
 | 
				
			||||||
    msckf_vio::MsckfVioNodelet, nodelet::Nodelet);
 | 
					    nodelet::Nodelet);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} // end namespace msckf_vio
 | 
					} // end namespace msckf_vio
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user