Fixed a clang error (for OSX)

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6097 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f3d2da9f53c7616810b23958249f1cb5763707b6
Former-commit-id: cac82a685991b62b0bd5e7211cc6b78865c24912
This commit is contained in:
beaglejoe 2015-08-30 23:12:09 +00:00
parent fb9b39a092
commit 00f9da9278
11 changed files with 11 additions and 11 deletions

View file

@ -40,7 +40,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (OsgGraph::_pSelf) if (OsgGraph::_pSelf)
GfModule::unregister(OsgGraph::_pSelf); OsgGraph::unregister(OsgGraph::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete OsgGraph::_pSelf; delete OsgGraph::_pSelf;

View file

@ -45,7 +45,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (SsgGraph::_pSelf) if (SsgGraph::_pSelf)
GfModule::unregister(SsgGraph::_pSelf); SsgGraph::unregister(SsgGraph::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete SsgGraph::_pSelf; delete SsgGraph::_pSelf;

View file

@ -65,7 +65,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (GenParOptV1::_pSelf) if (GenParOptV1::_pSelf)
GfModule::unregister(GenParOptV1::_pSelf); GenParOptV1::unregister(GenParOptV1::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete GenParOptV1::_pSelf; delete GenParOptV1::_pSelf;

View file

@ -63,7 +63,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (StandardGame::_pSelf) if (StandardGame::_pSelf)
GfModule::unregister(StandardGame::_pSelf); StandardGame::unregister(StandardGame::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete StandardGame::_pSelf; delete StandardGame::_pSelf;

View file

@ -42,7 +42,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (Simuv21::_pSelf) if (Simuv21::_pSelf)
GfModule::unregister(Simuv21::_pSelf); Simuv21::unregister(Simuv21::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete Simuv21::_pSelf; delete Simuv21::_pSelf;

View file

@ -42,7 +42,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (Simuv30::_pSelf) if (Simuv30::_pSelf)
GfModule::unregister(Simuv30::_pSelf); Simuv30::unregister(Simuv30::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete Simuv30::_pSelf; delete Simuv30::_pSelf;

View file

@ -42,7 +42,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (Simuv4::_pSelf) if (Simuv4::_pSelf)
GfModule::unregister(Simuv4::_pSelf); Simuv4::unregister(Simuv4::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete Simuv4::_pSelf; delete Simuv4::_pSelf;

View file

@ -40,7 +40,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (SndDefault::_pSelf) if (SndDefault::_pSelf)
GfModule::unregister(SndDefault::_pSelf); SndDefault::unregister(SndDefault::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete SndDefault::_pSelf; delete SndDefault::_pSelf;

View file

@ -41,7 +41,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (TrackModule::_pSelf) if (TrackModule::_pSelf)
GfModule::unregister(TrackModule::_pSelf); TrackModule::unregister(TrackModule::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete TrackModule::_pSelf; delete TrackModule::_pSelf;

View file

@ -61,7 +61,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (LegacyMenu::_pSelf) if (LegacyMenu::_pSelf)
GfModule::unregister(LegacyMenu::_pSelf); LegacyMenu::unregister(LegacyMenu::_pSelf);
DisplayMenuRelease(); DisplayMenuRelease();

View file

@ -62,7 +62,7 @@ int closeGfModule()
{ {
// Unregister it from the GfModule module manager. // Unregister it from the GfModule module manager.
if (TextOnlyUI::_pSelf) if (TextOnlyUI::_pSelf)
GfModule::unregister(TextOnlyUI::_pSelf); TextOnlyUI::unregister(TextOnlyUI::_pSelf);
// Delete the (only) module instance. // Delete the (only) module instance.
delete TextOnlyUI::_pSelf; delete TextOnlyUI::_pSelf;