OpenToonz - An open-source full-featured 2D animation creation software
C
Use std::unordered_map
Tact Yoshida1c2b20d028b8
diff --git a/toonz/sources/tnztools/plastictool_meshedit.cpp b/toonz/sources/tnztools/plastictool_meshedit.cppindex d2bf23c11..3f770dcbe 100644--- a/toonz/sources/tnztools/plastictool_meshedit.cpp+++ b/toonz/sources/tnztools/plastictool_meshedit.cpp@@ -14,7 +14,7 @@// boost includes#include <boost/unordered_set.hpp>-#include <boost/unordered_map.hpp>+#include <unordered_map>using namespace tcg::bgl;@@ -246,7 +246,7 @@ bool buildEdgeCuts(const TMeshImage &mi,int &meshIdx, std::vector<EdgeCut> &edgeCuts) {typedef PlasticTool::MeshSelection::objects_container edges_container;typedef PlasticTool::MeshIndex MeshIndex;- typedef boost::unordered_map<int, VertexOccurrence> VertexOccurrencesMap;+ typedef std::unordered_map<int, VertexOccurrence> VertexOccurrencesMap;struct locals {static bool differentMesh(const MeshIndex &a, const MeshIndex &b) {