qassert.h: fix typo
This amends 14d1108d35.
Change-Id: I542659a9e518f0328018142a83d3171e9474e5b7
Pick-to: 6.7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
parent
520d755d32
commit
7b3da9aa04
|
|
@ -81,7 +81,7 @@ inline T *q_check_ptr(T *p) { Q_CHECK_PTR(p); return p; }
|
|||
|
||||
Q_DECL_DEPRECATED_X("Q_ASSUME() is deprecated because it can produce worse code than when it's absent; "
|
||||
"use C++23 [[assume]] instead")
|
||||
inline bool qt_assume_is_deprecateed(bool cond) noexcept { return cond; }
|
||||
inline bool qt_assume_is_deprecated(bool cond) noexcept { return cond; }
|
||||
#define Q_ASSUME(Expr) \
|
||||
[] (bool valueOfExpression) {\
|
||||
Q_ASSERT_X(valueOfExpression, "Q_ASSUME()", "Assumption in Q_ASSUME(\"" #Expr "\") was not correct");\
|
||||
|
|
|
|||
Loading…
Reference in New Issue