Skip to content
Snippets Groups Projects
Commit 46d96922 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: msvc2015, fix error C3668

parent fc651803
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,8 @@ public:
typedef std::vector<LinePointType> PointListType;
typedef itk::VectorContainer<unsigned long, PointType> PointContainerType;
typedef itk::SmartPointer<PointContainerType> PointContainerPointer;
typedef itk::SizeValueType SizeValueType;
typedef itk::IdentifierType IdentifierType;
/** Returns a reference to the list of the Line points.*/
PointListType& GetPoints(void);
......@@ -72,19 +74,19 @@ public:
void SetPoints(PointListType& newPoints);
/** Return a point in the list given the index */
const SpatialObjectPointType* GetPoint(unsigned long id) const ITK_OVERRIDE
const SpatialObjectPointType* GetPoint(IdentifierType id) const ITK_OVERRIDE
{
return &(m_Points[id]);
}
/** Return a point in the list given the index */
SpatialObjectPointType* GetPoint(unsigned long id) ITK_OVERRIDE
SpatialObjectPointType* GetPoint(IdentifierType id) ITK_OVERRIDE
{
return &(m_Points[id]);
}
/** Return the number of points in the list */
itk::SizeValueType GetNumberOfPoints(void) const ITK_OVERRIDE
SizeValueType GetNumberOfPoints(void) const ITK_OVERRIDE
{
return m_Points.size();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment