replace std::shared_ptr to boost::shared_ptr

This commit is contained in:
2025-12-04 14:32:22 +07:00
parent f37bccd02f
commit af43332b28
13 changed files with 27 additions and 26 deletions

View File

@@ -36,8 +36,8 @@ void CriticalLayer::updateCosts(costmap_2d::Costmap2D& master_grid, int min_i, i
}
// Export factory function
static std::shared_ptr<Layer> create_critical_plugin() {
return std::make_shared<CriticalLayer>();
static boost::shared_ptr<Layer> create_critical_plugin() {
return boost::make_shared<CriticalLayer>();
}
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)