diff --git a/code/3DSHelper.h b/code/3DSHelper.h index 2dbdff5f3..5911b9d47 100644 --- a/code/3DSHelper.h +++ b/code/3DSHelper.h @@ -485,12 +485,12 @@ struct aiFloatKey /** Helper structure to represent a 3ds file node */ struct Node { - Node() - : mParent() - , mInstanceNumber() - , mHierarchyPos (0) - , mHierarchyIndex (0) - , mInstanceCount (1) + Node(): + mParent(NULL) + , mInstanceNumber(0) + , mHierarchyPos (0) + , mHierarchyIndex (0) + , mInstanceCount (1) { static int iCnt = 0; diff --git a/test/unit/utNoBoostTest.cpp b/test/unit/utNoBoostTest.cpp index 2cf666597..906ff639a 100644 --- a/test/unit/utNoBoostTest.cpp +++ b/test/unit/utNoBoostTest.cpp @@ -76,7 +76,8 @@ TEST(NoBoostTest, Tuple) { EXPECT_EQ(4U, first.get<1>()); EXPECT_EQ(4U, first.get<2>()); - boost::tuple second; + boost::tuple second= + boost::make_tuple(1,1.0f,0.0,false,another()); bool b = second.get<3>(); // check empty tuple