@@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(ASSERT_NEVER)
|
||||
#define ASSERT_NEVER(cond) (Q_ASSERT(cond == false), cond)
|
||||
#if defined(ASSERT_NEVER)
|
||||
#error ASSERT_NEVER already defined
|
||||
#else
|
||||
#define ASSERT_NEVER(cond) (Q_ASSERT((cond) == false), (cond))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user