Use std::shared_ptr in place of boost::shared_array

It works the same here
This commit is contained in:
Marek Roszko 2022-01-13 07:10:47 -05:00
parent a77b5649cc
commit 9965748795
1 changed files with 3 additions and 3 deletions

View File

@ -310,7 +310,7 @@ public:
VERTEX_MANAGER* vboManager; VERTEX_MANAGER* vboManager;
/// Intersect points, that have to be freed after tessellation /// Intersect points, that have to be freed after tessellation
std::deque< boost::shared_array<GLdouble> >& intersectPoints; std::deque<std::shared_ptr<GLdouble>>& intersectPoints;
}; };
private: private:
@ -368,7 +368,7 @@ private:
// Polygon tesselation // Polygon tesselation
GLUtesselator* m_tesselator; GLUtesselator* m_tesselator;
std::deque< boost::shared_array<GLdouble> > m_tessIntersects; std::deque<std::shared_ptr<GLdouble>> m_tessIntersects;
/// @copydoc GAL::BeginUpdate() /// @copydoc GAL::BeginUpdate()
void beginUpdate() override; void beginUpdate() override;