[llvm-commits] [test-suite] r97337 - /test-suite/trunk/MultiSource/Benchmarks/Bullet/include/BulletSoftBody/btSoftBody.h
Douglas Gregor
dgregor at apple.com
Sat Feb 27 11:14:19 PST 2010
Author: dgregor
Date: Sat Feb 27 13:14:19 2010
New Revision: 97337
URL: http://llvm.org/viewvc/llvm-project?rev=97337&view=rev
Log:
Add some missing user-defined constructors, which Clang (rightfully)
complains about.
Modified:
test-suite/trunk/MultiSource/Benchmarks/Bullet/include/BulletSoftBody/btSoftBody.h
Modified: test-suite/trunk/MultiSource/Benchmarks/Bullet/include/BulletSoftBody/btSoftBody.h
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Bullet/include/BulletSoftBody/btSoftBody.h?rev=97337&r1=97336&r2=97337&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Bullet/include/BulletSoftBody/btSoftBody.h (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Bullet/include/BulletSoftBody/btSoftBody.h Sat Feb 27 13:14:19 2010
@@ -182,6 +182,8 @@
btScalar m_kAST; // Area/Angular stiffness coefficient [0,1]
btScalar m_kVST; // Volume stiffness coefficient [0,1]
int m_flags; // Flags
+
+ Material() { }
};
/* Feature */
@@ -201,6 +203,8 @@
btScalar m_area; // Area
btDbvtNode* m_leaf; // Leaf data
int m_battach:1; // Attached
+
+ Node() { }
};
/* Link */
struct Link : Feature
@@ -212,6 +216,8 @@
btScalar m_c1; // rl^2
btScalar m_c2; // |gradient|^2/c0
btVector3 m_c3; // gradient
+
+ Link() { }
};
/* Face */
struct Face : Feature
@@ -220,6 +226,8 @@
btVector3 m_normal; // Normal
btScalar m_ra; // Rest area
btDbvtNode* m_leaf; // Leaf data
+
+ Face() { }
};
/* Tetra */
struct Tetra : Feature
@@ -230,6 +238,8 @@
btVector3 m_c0[4]; // gradients
btScalar m_c1; // (4*kVST)/(im0+im1+im2+im3)
btScalar m_c2; // m_c1/sum(|g0..3|^2)
+
+ Tetra() { }
};
/* RContact */
struct RContact
@@ -271,6 +281,7 @@
int m_rank; // Rank
Node* m_nodes[4]; // Nodes
btScalar m_coords[4]; // Coordinates
+ Note() { }
};
/* Pose */
struct Pose
More information about the llvm-commits
mailing list