← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1729: 1. Fixes compiling error without openmp feature.

 

------------------------------------------------------------
revno: 1729
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2009-08-24 16:46:05 +0200
message:
  1. Fixes compiling error without openmp feature.
modified:
  core/InteractionContainer.cpp


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'core/InteractionContainer.cpp'
--- core/InteractionContainer.cpp	2009-08-22 18:21:25 +0000
+++ core/InteractionContainer.cpp	2009-08-24 14:46:05 +0000
@@ -23,9 +23,10 @@
 void InteractionContainer::clearPendingErase(){
 	#ifdef YADE_OPENMP
 		FOREACH(list<bodyIdPair>& pendingErase, threadsPendingErase){
-	#endif
 			pendingErase.clear();
 		}
+	#endif
+	pendingErase.clear();
 }
 
 int InteractionContainer::unconditionalErasePending(){