diff --git a/toonz/sources/tnztools/plastictool_meshedit.cpp b/toonz/sources/tnztools/plastictool_meshedit.cpp index 3f770dc..a7f1bb6 100644 --- a/toonz/sources/tnztools/plastictool_meshedit.cpp +++ b/toonz/sources/tnztools/plastictool_meshedit.cpp @@ -12,8 +12,7 @@ #include "tcg/tcg_macros.h" #include "tcg/tcg_point_ops.h" -// boost includes -#include +#include #include using namespace tcg::bgl; @@ -494,13 +493,13 @@ namespace locals_ { // Need to use a named namespace due to // a known gcc 4.2 bug with compiler-generated struct VertexesRecorder // copy constructors. { - boost::unordered_set &m_examinedVertexes; + std::unordered_set &m_examinedVertexes; public: typedef boost::on_examine_vertex event_filter; public: - VertexesRecorder(boost::unordered_set &examinedVertexes) + VertexesRecorder(std::unordered_set &examinedVertexes) : m_examinedVertexes(examinedVertexes) {} void operator()(int v, const TTextureMesh &) { m_examinedVertexes.insert(v); } @@ -511,7 +510,7 @@ namespace { // void splitUnconnectedMesh(TMeshImage &mi, int meshIdx) { struct locals { static void buildConnectedComponent(const TTextureMesh &mesh, - boost::unordered_set &vertexes) { + std::unordered_set &vertexes) { // Prepare BFS algorithm std::unique_ptr colorMapP(new UCHAR[mesh.vertices().nodesCount()]()); @@ -528,7 +527,7 @@ void splitUnconnectedMesh(TMeshImage &mi, int meshIdx) { // Retrieve the list of vertexes in the first connected component TTextureMesh &origMesh = *mi.meshes()[meshIdx]; - boost::unordered_set firstComponent; + std::unordered_set firstComponent; locals::buildConnectedComponent(origMesh, firstComponent); if (firstComponent.size() == origMesh.verticesCount()) return;