Browse Source

debug: use std::abort() instead of a custom idiocy.

legacy
Sam Hocevar sam 12 years ago
parent
commit
8da2f504a8
1 changed files with 2 additions and 2 deletions
  1. +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 */


Loading…
Cancel
Save