Jump to content

9865 Compil fix ? with VC2010


Guest yad02

Recommended Posts

Hello, I have an error with VC2010 in

http://github.com/mangos/mangos/commit/00db96b206104c932e23de30a14d929e90bef791#diff-1

I used

for(tbb::concurrent_vector<TargetInfo>::iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit) 

instead

for(std::list<TargetInfo>::iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit)

and it works

is it the good way ?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use