Changed instances of new across to use osgNew to help debugging, and fixed

an unitialized variable in Sequence.
This commit is contained in:
Robert Osfield
2002-08-28 21:40:38 +00:00
parent 3065f35ae2
commit b546c63139
5 changed files with 35 additions and 26 deletions

View File

@@ -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"))
{
}