remove read unitilize memory

pull/753/head
wise86Android 2016-01-16 16:14:16 +01:00
parent d51c2e6435
commit bd032488e4
2 changed files with 8 additions and 7 deletions

View File

@ -485,9 +485,9 @@ struct aiFloatKey
/** Helper structure to represent a 3ds file node */ /** Helper structure to represent a 3ds file node */
struct Node struct Node
{ {
Node() Node():
: mParent() mParent(NULL)
, mInstanceNumber() , mInstanceNumber(0)
, mHierarchyPos (0) , mHierarchyPos (0)
, mHierarchyIndex (0) , mHierarchyIndex (0)
, mInstanceCount (1) , mInstanceCount (1)

View File

@ -76,7 +76,8 @@ TEST(NoBoostTest, Tuple) {
EXPECT_EQ(4U, first.get<1>()); EXPECT_EQ(4U, first.get<1>());
EXPECT_EQ(4U, first.get<2>()); EXPECT_EQ(4U, first.get<2>());
boost::tuple<int, float, double, bool, another> second; boost::tuple<int, float, double, bool, another> second=
boost::make_tuple(1,1.0f,0.0,false,another());
bool b = second.get<3>(); bool b = second.get<3>();
// check empty tuple // check empty tuple