Commit b33afbfe authored by Ron Rahaman's avatar Ron Rahaman

Updated MooseApp to MooseAppPtr

parent 55523d6d
......@@ -16,14 +16,10 @@ int main(int argc, char *argv[])
// Register this application's MooseApp and any it depends on
GiraffeApp::registerApps();
// This creates dynamic memory that we're responsible for deleting
MooseApp * app = AppFactory::createApp("GiraffeApp", argc, argv);
MooseAppPtr app = AppFactory::createAppShared("GiraffeApp", argc, argv);
// Execute the application
app->run();
// Free up the memory we created earlier
delete app;
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment