aboutsummaryrefslogtreecommitdiff
path: root/launcher/Env.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/Env.cpp')
-rw-r--r--launcher/Env.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/Env.cpp b/launcher/Env.cpp
index 630ba534..1ca82e4b 100644
--- a/launcher/Env.cpp
+++ b/launcher/Env.cpp
@@ -39,13 +39,13 @@ Env::~Env()
delete d;
}
-Env& Env::Env::getInstance()
+Env* Env::Env::getInstance()
{
if(!instance)
{
instance = new Env();
}
- return *instance;
+ return instance;
}
void Env::dispose()