Commit a55f53c8 authored by David Gobbi's avatar David Gobbi

Constify vtkImageStencilData::SetExtent.

parent 7b166818
......@@ -362,7 +362,7 @@ void vtkImageStencilData::CopyOriginAndSpacingFromPipeline(vtkInformation* info)
}
//----------------------------------------------------------------------------
void vtkImageStencilData::SetExtent(int extent[6])
void vtkImageStencilData::SetExtent(const int extent[6])
{
for (int i = 0; i < 6; i++)
{
......
......@@ -126,7 +126,7 @@ public:
* by vtkImageStencilSource, as it is part of the basic pipeline
* functionality.
*/
void SetExtent(int extent[6]);
void SetExtent(const int extent[6]);
void SetExtent(int x1, int x2, int y1, int y2, int z1, int z2);
vtkGetVector6Macro(Extent, int);
//@}
......
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