1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 15:10:45 +00:00
serenity/AK/Assertions.h
2018-10-22 14:06:22 +02:00

19 lines
251 B
C++

#pragma once
#ifdef SERENITY
#include "kassert.h"
#else
#include <assert.h>
#define ASSERT(x) assert(x)
#define ASSERT_NOT_REACHED() assert(false)
#endif
namespace AK {
inline void notImplemented() { ASSERT(false); }
}
using AK::notImplemented;