Changed instances of new across to use osgNew to help debugging, and fixed
an unitialized variable in Sequence.
This commit is contained in:
@@ -141,7 +141,7 @@ TestSuite* TestGraph::suite(
|
||||
|
||||
if(createIfNecessary){
|
||||
|
||||
TestSuite* childSuite = new TestSuite(*it);
|
||||
TestSuite* childSuite = osgNew TestSuite(*it);
|
||||
tsuite->add(childSuite);
|
||||
return suite(it, end, childSuite, createIfNecessary);
|
||||
}
|
||||
@@ -149,7 +149,7 @@ TestSuite* TestGraph::suite(
|
||||
return 0;
|
||||
}
|
||||
|
||||
TestGraph::TestGraph(): root_(new TestSuite("root"))
|
||||
TestGraph::TestGraph(): root_(osgNew TestSuite("root"))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user