Commit f3b54ec9 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'use_unordered_map'


 Use std::unordered_map instead of vtksys::hash_map.
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: Brad King's avatarBrad King <>
Merge-request: !2084
parents d9144338 d58b583b
Pipeline #84560 failed with stage
in 0 seconds
......@@ -33,8 +33,8 @@
#define VTK_CREATE(type, name) vtkSmartPointer<type> name = vtkSmartPointer<type>::New()
#include <algorithm>
#include <unordered_map>
#include <vector>
#include <vtksys/hash_map.hxx>
static const unsigned char NO_EDGE_FLAG = static_cast<unsigned char>(-1);
......@@ -93,7 +93,7 @@ public:
// Description:
// 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,
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