소스 검색

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

legacy
Sam Hocevar sam 13 년 전
부모
커밋
8da2f504a8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/lol/debug.h

+ 2
- 2
src/lol/debug.h 파일 보기

@@ -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 */


불러오는 중...
취소
저장