Error: mutable method isolated.graphics.g3d.model.Model.begin is not callable using a const object
Alex Parrill via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 6 14:09:41 PDT 2016
On Monday, 6 June 2016 at 20:40:12 UTC, Begah wrote:
> I have a pretty weird error : Error: mutable method
> isolated.graphics.g3d.model.Model.begin is not callable using a
> const object
>
> [...]
It may infer const from the type of `this.instance`, which may be
further modified if the method you are running this in is
`const`. If you explicitly specify the type of the foreach loop
variables, does it work?
More information about the Digitalmars-d-learn
mailing list