r5sdk/r5dev/core/assert.h
Kawe Mazidjatari 70c117b6ff Core: remove extraneous define
No longer needed, moved to dbg.h in commit ab0f925205f1b6ccf71cc1efa0ef7298d4493fe6.
2024-04-05 18:42:29 +02:00

15 lines
455 B
C++

#pragma once
//#ifndef NDEBUG
//# define Assert(condition, message) \
// do { \
// if (! (condition)) { \
// std::cerr << "Assertion '" #condition "' failed in " << __FILE__ \
// << " line " << __LINE__ << ": " << message << std::endl; \
// assert(condition); \
// } \
// } while (false)
//#else
# define Assert(condition, ...) assert(condition)
# define AssertFatalMsg Assert
//#endif