mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
code review
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 1cd78bf94a)
This commit is contained in:
parent
20cf5d3a65
commit
d531abb684
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue