remove read unitilize memory
parent
d51c2e6435
commit
bd032488e4
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue