From 8da2f504a83eb38d15552a5cc738e487a76f0550 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 20 Apr 2012 16:33:04 +0000 Subject: [PATCH] debug: use std::abort() instead of a custom idiocy. --- src/lol/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lol/debug.h b/src/lol/debug.h index db9476f8..05a25b17 100644 --- a/src/lol/debug.h +++ b/src/lol/debug.h @@ -16,14 +16,14 @@ #if !defined __LOL_DEBUG_H__ #define __LOL_DEBUG_H__ -#include "entity.h" +#include namespace lol { static inline void Abort() { - *(int *)0 = 0xdead; + std::abort(); } } /* namespace lol */