MantisBT - ITK
View Issue Details
0004930ITKpublic2007-04-25 09:192007-09-10 11:53
Jeff Donner 
Luis Ibanez 
lowminoralways
closedfixed 
 
 
0004930: ImageIOBase::GetIORegion() can be const
in Code/IO/itkImageIOBase.h / ImageIOBase

ImageIOBase::GetIORegion() is not const, but it returns an ImageIORegion struct by value so it can be.

That is,
  itkGetMacro(IORegion, ImageIORegion);

Can be:
  itkGetConstMacro(IORegion, ImageIORegion);
No tags attached.
Issue History
2007-09-10 11:53Luis IbanezStatusassigned => closed
2007-09-10 11:53Luis IbanezNote Added: 0008905
2007-09-10 11:53Luis IbanezResolutionopen => fixed

Notes
(0008905)
Luis Ibanez   
2007-09-10 11:53   
The code fix has been committed:
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.h?root=Insight&sortby=date&r2=1.46&r1=1.45 [^]