Fix OpenMP compilation

Delete a #pragma that tries to paralellize a BOOST_FOREACH loop. This
doesn't work as boost inserts lines before the for, thus hindering the
compiler to find the 'for'.
This commit is contained in:
aquileia 2014-06-18 03:17:06 +02:00
parent ad7cf1317d
commit 4a99787348

View file

@ -3068,9 +3068,6 @@ void display::invalidate_animations()
bool new_inval;
do {
new_inval = false;
#ifdef _OPENMP
#pragma omp parallel for reduction(|:new_inval) shared(unit_list) schedule(guided)
#endif //_OPENMP
BOOST_FOREACH(const unit & u, dc_->units()) {
new_inval |= u.anim_comp().invalidate(*this);
}