← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1801: Fix compile error introduced in last commit.

 

------------------------------------------------------------
revno: 1801
committer: Václav Šmilauer <eudoxos@xxxxxxxx>
branch nick: trunk
timestamp: Fri 2009-11-20 11:01:49 +0100
message:
  Fix compile error introduced in last commit.
modified:
  core/Body.hpp


--
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/Body.hpp'
--- core/Body.hpp	2009-11-20 09:08:07 +0000
+++ core/Body.hpp	2009-11-20 10:01:49 +0000
@@ -71,9 +71,10 @@
 		// only BodyContainer can set the id of a body
 		friend class BodyContainer;
 
-		#ifdef YADE_NOMATERIAL
 			/// here are stored physical things that describe the Body: mass, stiffness
 			shared_ptr<PhysicalParameters>	physicalParameters;
+		#ifdef YADE_NOMATERIAL
+			// later move physicalParameters here
 		#else
 			//! material of the body; might be shared among bodies (via shared_ptr)
 			shared_ptr<Material> material;