diff options
Diffstat (limited to 'includes/Exceptions.h')
-rw-r--r-- | includes/Exceptions.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/includes/Exceptions.h b/includes/Exceptions.h index 1c66968..11d0d7b 100644 --- a/includes/Exceptions.h +++ b/includes/Exceptions.h @@ -97,15 +97,7 @@ static inline void * realloc(void * previous, size_t size) { }; -static inline void AssertHelperInner(const String & msg, const char * details = NULL) throw (GeneralException) { -#if defined(_MSC_VER) && defined(_DEBUG) - if (IsDebuggerPresent()) - __debugbreak(); - else -#endif - throw GeneralException(msg, details); -} - +void AssertHelperInner(const String & msg, const char * details = NULL) throw (GeneralException); static inline void AssertHelper(const String & msg, const char * fmt, ...) printfwarning(2, 3); static inline void AssertHelper(const String & msg, const char * fmt, ...) { |