DavidKimYongRak / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

Const version of b2World::GetBodyList missing #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a const version of b2Body::GetNext, but there is no const version of 
b2World::GetBodyList, so getting the list of bodies from a const b2World 
requires a const_cast. However, there is nothing in b2World::GetBodyList that 
implies there can't be a const version.

Original issue reported on code.google.com by jeffrey....@gmail.com on 7 Mar 2011 at 8:58

GoogleCodeExporter commented 9 years ago
Sorry, I see this has already been fixed in the trunk. Feel free to close.

Original comment by jeffrey....@gmail.com on 7 Mar 2011 at 9:01

GoogleCodeExporter commented 9 years ago

Original comment by erinca...@gmail.com on 28 Mar 2011 at 6:49