Commit d58b583b authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Use std::unordered_map instead of vtksys::hash_map.

parent 1e4ef7b5
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
#define VTK_CREATE(type, name) vtkSmartPointer<type> name = vtkSmartPointer<type>::New() #define VTK_CREATE(type, name) vtkSmartPointer<type> name = vtkSmartPointer<type>::New()
#include <algorithm> #include <algorithm>
#include <unordered_map>
#include <vector> #include <vector>
#include <vtksys/hash_map.hxx>
static const unsigned char NO_EDGE_FLAG = static_cast<unsigned char>(-1); static const unsigned char NO_EDGE_FLAG = static_cast<unsigned char>(-1);
...@@ -93,7 +93,7 @@ public: ...@@ -93,7 +93,7 @@ public:
// Description: // Description:
// A map from edge endpoints to the information about that edge. // A map from edge endpoints to the information about that edge.
typedef vtksys::hash_map<EdgeEndpoints, EdgeInformation, EdgeEndpointsHash> EdgeMapType; typedef std::unordered_map<EdgeEndpoints, EdgeInformation, EdgeEndpointsHash> EdgeMapType;
void RecordEdgeFlag(vtkPolyData* output, const EdgeInformation& edgeInfo, void RecordEdgeFlag(vtkPolyData* output, const EdgeInformation& edgeInfo,
vtkUnsignedCharArray* edgeFlagArray, unsigned char flag, vtkIdType* duplicatePointMap) vtkUnsignedCharArray* edgeFlagArray, unsigned char flag, vtkIdType* duplicatePointMap)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment