The use of Q_ASSERT(false) is bogus as we don't need to test here, but want to signal unreachability. Q_UNREACHABLE_RETURN allows us to tell the compiler that the point can't be reached while also getting rid of the no return error. Task-number: QTBUG-114689 Pick-to: 6.6 6.5 Change-Id: I007cd243055237bcc21772a4130a6c1a44fd882d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| bindablesubscription.cpp | ||
| bindablesubscription.h | ||
| bindablesubscription.pro | ||
| bindableuser.cpp | ||
| bindableuser.h | ||
| main.cpp | ||