------------------------------------------------------------
revno: 1729
committer: Anton Gladky <[email protected]>
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(){

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to