mirror of https://github.com/mosra/magnum.git
Browse Source
Const function shouldn̈́'t return anything with which it would be possible to change object's internal state: * It is possible to get non-constant pointer to itself from parent().children() array, so parent() cannot be const function. * The same applies to scene(). * It is also possible to get non-constant pointer to itself from children()[0].parent(), so children() also cannot be const function.pull/279/head
2 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue