This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
debug: use std::abort() instead of a custom idiocy.
legacy
Sam Hocevar
sam
12 years ago
parent
5112ce8339
commit
8da2f504a8
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/lol/debug.h
+ 2
- 2
src/lol/debug.h
View File
@@ -16,14 +16,14 @@
#if !defined __LOL_DEBUG_H__
#define __LOL_DEBUG_H__
#include
"entity.h"
#include
<cstdlib>
namespace lol
{
static inline void Abort()
{
*(int *)0 = 0xdead
;
std::abort()
;
}
} /* namespace lol */
Write
Preview
Loading…
Cancel
Save