|
|
../worm.cpp:144: error: no match for 'operator==' in '(&iter)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = Location*, _Container = std::vector<Location, std::allocator<Location> >]() == (&neighbors)->std::vector<_Tp, _Alloc>::operator[] [with _Tp = Location, _Alloc = std::allocator<Location>](((unsigned int)rand_pos))' ../worm.cpp:147: error: name lookup of `iter' changed for new ISO `for' scoping ../worm.cpp:142: error: using obsolete binding at `iter' |