mirror of
https://github.com/corda/corda.git
synced 2025-06-19 07:38:22 +00:00
rename assert to assertT, to avoid conflict with std assert macro
This commit is contained in:
committed by
Joshua Warner
parent
7ea4b584b8
commit
263e349cae
@ -168,18 +168,18 @@ sysAbort(System* s)
|
||||
|
||||
// #ifdef NDEBUG
|
||||
|
||||
// # define assert(a, b)
|
||||
// # define assertT(a, b)
|
||||
// # define vm_assert(a, b)
|
||||
|
||||
// #else // not NDEBUG
|
||||
|
||||
// inline void
|
||||
// assert(System* s, bool v)
|
||||
// assertT(System* s, bool v)
|
||||
// {
|
||||
// expect(s, v);
|
||||
// }
|
||||
|
||||
// # define vm_assert(a, b) vm::assert(a, b)
|
||||
// # define vm_assert(a, b) vm::assertT(a, b)
|
||||
|
||||
// #endif // not NDEBUG
|
||||
|
||||
|
Reference in New Issue
Block a user