forked from speed-dreams/speed-dreams-code
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:
parent
fb9b39a092
commit
00f9da9278
11 changed files with 11 additions and 11 deletions
|
@ -40,7 +40,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (OsgGraph::_pSelf)
|
||||
GfModule::unregister(OsgGraph::_pSelf);
|
||||
OsgGraph::unregister(OsgGraph::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete OsgGraph::_pSelf;
|
||||
|
|
|
@ -45,7 +45,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (SsgGraph::_pSelf)
|
||||
GfModule::unregister(SsgGraph::_pSelf);
|
||||
SsgGraph::unregister(SsgGraph::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete SsgGraph::_pSelf;
|
||||
|
|
|
@ -65,7 +65,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (GenParOptV1::_pSelf)
|
||||
GfModule::unregister(GenParOptV1::_pSelf);
|
||||
GenParOptV1::unregister(GenParOptV1::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete GenParOptV1::_pSelf;
|
||||
|
|
|
@ -63,7 +63,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (StandardGame::_pSelf)
|
||||
GfModule::unregister(StandardGame::_pSelf);
|
||||
StandardGame::unregister(StandardGame::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete StandardGame::_pSelf;
|
||||
|
|
|
@ -42,7 +42,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (Simuv21::_pSelf)
|
||||
GfModule::unregister(Simuv21::_pSelf);
|
||||
Simuv21::unregister(Simuv21::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete Simuv21::_pSelf;
|
||||
|
|
|
@ -42,7 +42,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (Simuv30::_pSelf)
|
||||
GfModule::unregister(Simuv30::_pSelf);
|
||||
Simuv30::unregister(Simuv30::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete Simuv30::_pSelf;
|
||||
|
|
|
@ -42,7 +42,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (Simuv4::_pSelf)
|
||||
GfModule::unregister(Simuv4::_pSelf);
|
||||
Simuv4::unregister(Simuv4::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete Simuv4::_pSelf;
|
||||
|
|
|
@ -40,7 +40,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (SndDefault::_pSelf)
|
||||
GfModule::unregister(SndDefault::_pSelf);
|
||||
SndDefault::unregister(SndDefault::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete SndDefault::_pSelf;
|
||||
|
|
|
@ -41,7 +41,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (TrackModule::_pSelf)
|
||||
GfModule::unregister(TrackModule::_pSelf);
|
||||
TrackModule::unregister(TrackModule::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete TrackModule::_pSelf;
|
||||
|
|
|
@ -61,7 +61,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (LegacyMenu::_pSelf)
|
||||
GfModule::unregister(LegacyMenu::_pSelf);
|
||||
LegacyMenu::unregister(LegacyMenu::_pSelf);
|
||||
|
||||
DisplayMenuRelease();
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ int closeGfModule()
|
|||
{
|
||||
// Unregister it from the GfModule module manager.
|
||||
if (TextOnlyUI::_pSelf)
|
||||
GfModule::unregister(TextOnlyUI::_pSelf);
|
||||
TextOnlyUI::unregister(TextOnlyUI::_pSelf);
|
||||
|
||||
// Delete the (only) module instance.
|
||||
delete TextOnlyUI::_pSelf;
|
||||
|
|
Loading…
Reference in a new issue