If T is a C-array, like it is in some of our tests, then an instance of that can never be nullptr, which recent gcc versions think warrants a compile time warning -Waddress. As a C array is a valid data structure to instantiate a QRangeModel from, silence that warning by handling the case explicitly. Pick-to: 6.10 Change-Id: I63090891988e677cf3ae2d871418b1abd4d1dc71 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%