replace std::shared_ptr to boost::shared_ptr
This commit is contained in:
@@ -450,8 +450,8 @@ void VoxelLayer::updateOrigin(double new_origin_x, double new_origin_y)
|
||||
}
|
||||
|
||||
// Export factory function
|
||||
static std::shared_ptr<Layer> create_voxel_plugin() {
|
||||
return std::make_shared<VoxelLayer>();
|
||||
static boost::shared_ptr<Layer> create_voxel_plugin() {
|
||||
return boost::make_shared<VoxelLayer>();
|
||||
}
|
||||
|
||||
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)
|
||||
|
||||
Reference in New Issue
Block a user