some IImage methods should be const

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
ikk
Posts: 8
Joined: Sat Jun 03, 2006 6:13 pm
Contact:

some IImage methods should be const

Post 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.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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 :)
ikk
Posts: 8
Joined: Sat Jun 03, 2006 6:13 pm
Contact:

Post by ikk »

yeah,
i can imagine, its alot of work.
Post Reply