From f40da3420fbd10355a89b6a187a07c3d73700f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= Date: Mon, 17 Feb 2020 17:20:23 -0500 Subject: [PATCH] COMP: use STL's unordered map instead of KWSYS's hash map --- include/itkMorphologicalContourInterpolator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/itkMorphologicalContourInterpolator.h b/include/itkMorphologicalContourInterpolator.h index 254aae4..f41bf31 100644 --- a/include/itkMorphologicalContourInterpolator.h +++ b/include/itkMorphologicalContourInterpolator.h @@ -22,7 +22,7 @@ #include "itkConnectedComponentImageFilter.h" #include "itkExtractImageFilter.h" #include "itkImageToImageFilter.h" -#include "itksys/hash_map.hxx" +#include namespace itk { @@ -207,7 +207,7 @@ class MorphologicalContourInterpolator: } // each label gets a set of slices in which it is present - using LabeledSlicesType = itksys::hash_map< typename TImage::PixelType, SliceSetType >; + using LabeledSlicesType = std::unordered_map< typename TImage::PixelType, SliceSetType >; using SliceIndicesType = std::vector< LabeledSlicesType >; /** Slice indices between which interpolation is done. */ @@ -364,7 +364,7 @@ class MorphologicalContourInterpolator: typename SliceType::Pointer& jConn, const PixelList& jRegionIds ); - using BoundingBoxesType = itksys::hash_map< typename TImage::PixelType, typename TImage::RegionType >; + using BoundingBoxesType = std::unordered_map< typename TImage::PixelType, typename TImage::RegionType >; BoundingBoxesType m_BoundingBoxes; // bounding box for each label /** Calculates a bounding box of non-zero pixels. */