diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-18 23:41:54 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-18 23:41:54 -0800 |
commit | aec952125146ef754b755f75bf9281d16e837155 (patch) | |
tree | f9632a7fc772044142a589ac6bd41584be830bb2 /includes/Main.h | |
parent | b2f3f5217a0e9833479367bc3ebbb7926819b71b (diff) |
Visual Studio port.
Diffstat (limited to 'includes/Main.h')
-rw-r--r-- | includes/Main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Main.h b/includes/Main.h index 10a27b7..7a2a001 100644 --- a/includes/Main.h +++ b/includes/Main.h @@ -39,7 +39,7 @@ class Main { Main() : m_status(UNKNOWN) { IAssert(s_application == NULL, "There can't be two main apps"); s_application = this; } static Status getStatus() { return s_application->m_status; } int bootstrap(int _argc, char ** _argv); - static bool hasMain() { return s_application; } + static bool hasMain() { return !!s_application; } private: Status m_status; static Main * s_application; |