Epic failures in the game development field.

This blog covers funny/weird issues and bugs from games that happened during development.

Send your own contributions to igetyourfail at repi.se (can be anonymous if specified)

Friday, December 19, 2008

++ftw++


eastl::map<eastl::string, PipelineMeshSubsetPtrVector >::iterator mapMeshIt;

for (mapMeshIt = meshMap.begin(); mapMeshIt != meshMap.end(); ++mapMeshIt++)
{
...
}


Code actually works though :) Only incremented once per iteration.

(Thanks to Robert)

2 comments:

tulcod said...

actually, when you use a serious compiler, it does not. so stop using visual C++ and switch to a real compiler like GCC 4.3.

Nosgoroth said...

I read that as MapMeShit >_<

Followers