mirror of https://github.com/qt/qtdatavis3d.git
Fix -Wunused-function on non-OSX platforms
Found by headerscheck. Pick-to: 6.4 6.3 6.2 Change-Id: If3c7e2a10132a1201a08db1fb9b71d0cdcd395ff Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
parent
26d23043b7
commit
05b90ceb50
|
@ -12,9 +12,7 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
#endif
|
||||
[[maybe_unused]]
|
||||
static inline QSurfaceFormat qDefaultSurfaceFormat(bool antialias)
|
||||
{
|
||||
bool isES = false;
|
||||
|
|
Loading…
Reference in New Issue