Page 1 of 1

some IImage methods should be const

Posted: Thu May 10, 2007 12:36 pm
by ikk
hi,
i think all get- methods of irr::video::IImage interface should be const.

i gues its a bug in source code because getters dont modify content of an object, ie. getDimension() isn't const.

Posted: Thu May 10, 2007 3:05 pm
by hybrid
Const-Correctness is only slowly progressing because Niko does not really like it. So we have to push it in really careful. But it's under construction :)

Posted: Thu May 10, 2007 5:28 pm
by ikk
yeah,
i can imagine, its alot of work.