Changeset 1240


Ignore:
Timestamp:
Apr 20, 2012, 6:33:04 PM (11 years ago)
Author:
sam
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/debug.h

    r1237 r1240  
    1717#define __LOL_DEBUG_H__
    1818
    19 #include "entity.h"
     19#include <cstdlib>
    2020
    2121namespace lol
     
    2424static inline void Abort()
    2525{
    26     *(int *)0 = 0xdead;
     26    std::abort();
    2727}
    2828
Note: See TracChangeset for help on using the changeset viewer.