mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
20 lines
314 B
C++
20 lines
314 B
C++
#pragma once
|
|
|
|
#ifdef KERNEL
|
|
# include <Kernel/Assertions.h>
|
|
#else
|
|
# include <assert.h>
|
|
# ifndef __serenity__
|
|
# define ASSERT assert
|
|
# define ASSERT_NOT_REACHED() assert(false)
|
|
# endif
|
|
#endif
|
|
|
|
namespace AK {
|
|
|
|
inline void not_implemented() { ASSERT(false); }
|
|
|
|
}
|
|
|
|
using AK::not_implemented;
|