replace std::shared_ptr to boost::shared_ptr
This commit is contained in:
@@ -361,8 +361,8 @@ void StaticLayer::updateCosts(costmap_2d::Costmap2D& master_grid, int min_i, int
|
||||
}
|
||||
|
||||
// Export factory function
|
||||
static std::shared_ptr<Layer> create_static_plugin() {
|
||||
return std::make_shared<StaticLayer>();
|
||||
static boost::shared_ptr<Layer> create_static_plugin() {
|
||||
return boost::make_shared<StaticLayer>();
|
||||
}
|
||||
|
||||
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)
|
||||
|
||||
Reference in New Issue
Block a user