diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-05-03 15:22:23 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-05-08 14:24:02 +0000 |
| commit | b7da94ce5251d91acd60d4c82684f12c7d11affc (patch) | |
| tree | 30d802dae1c30b2167d8591909a61f0810ad93d1 /src/gui/opengl/qopengltexture.cpp | |
| parent | 961fe0df2e25225049bcfd8d6d2f9e314dc829a6 (diff) | |
QObject: turn the narrowing test into static_asserts
The conditions checked are compile-time conditions anyhow.
Simplify or strenghten a few conditions while at it.
Change-Id: If07f2aedca4c3632d852a8fdb2b3f7eb55a96c93
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
Diffstat (limited to 'src/gui/opengl/qopengltexture.cpp')
0 files changed, 0 insertions, 0 deletions
