diff options
Diffstat (limited to 'core/os/shell.cpp')
-rw-r--r-- | core/os/shell.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/core/os/shell.cpp b/core/os/shell.cpp index 60f4203dbe..77726afd9d 100644 --- a/core/os/shell.cpp +++ b/core/os/shell.cpp @@ -28,24 +28,17 @@ /*************************************************************************/ #include "shell.h" +Shell *Shell::singleton = NULL; -Shell * Shell::singleton=NULL; - - -Shell * Shell::get_singleton() { +Shell *Shell::get_singleton() { return singleton; } - Shell::~Shell() { - } Shell::Shell() { - singleton=this; + singleton = this; } - - - |