replace std::shared_ptr to boost::shared_ptr
This commit is contained in:
@@ -253,7 +253,7 @@ private:
|
||||
void readFootprintFromConfig(const std::vector<geometry_msgs::Point> &new_footprint,
|
||||
const std::vector<geometry_msgs::Point> &old_footprint,
|
||||
const double &robot_radius);
|
||||
std::vector<std::function<PluginLayerPtr()>> creators_;
|
||||
std::vector<boost::function<PluginLayerPtr()>> creators_;
|
||||
void checkMovement();
|
||||
void mapUpdateLoop(double frequency);
|
||||
bool map_update_thread_shutdown_;
|
||||
|
||||
@@ -163,7 +163,7 @@ private:
|
||||
std::vector<geometry_msgs::Point> footprint_spec_;
|
||||
};
|
||||
|
||||
using PluginLayerPtr = std::shared_ptr<Layer>;
|
||||
using PluginLayerPtr = boost::shared_ptr<Layer>;
|
||||
|
||||
} // namespace costmap_2d
|
||||
|
||||
|
||||
@@ -104,12 +104,12 @@ public:
|
||||
return costmap_.getDefaultValue() == costmap_2d::NO_INFORMATION;
|
||||
}
|
||||
|
||||
std::vector<std::shared_ptr<Layer> >* getPlugins()
|
||||
std::vector<boost::shared_ptr<Layer> >* getPlugins()
|
||||
{
|
||||
return &plugins_;
|
||||
}
|
||||
|
||||
void addPlugin(std::shared_ptr<Layer> plugin)
|
||||
void addPlugin(boost::shared_ptr<Layer> plugin)
|
||||
{
|
||||
plugins_.push_back(plugin);
|
||||
}
|
||||
@@ -164,7 +164,7 @@ private:
|
||||
double minx_, miny_, maxx_, maxy_;
|
||||
unsigned int bx0_, bxn_, by0_, byn_;
|
||||
|
||||
std::vector<std::shared_ptr<Layer> > plugins_;
|
||||
std::vector<boost::shared_ptr<Layer> > plugins_;
|
||||
|
||||
bool initialized_;
|
||||
bool size_locked_;
|
||||
|
||||
Reference in New Issue
Block a user