GCC warning.
--HG-- branch : develop
This commit is contained in:
parent
5c8c940f32
commit
da314b3265
|
@ -33,6 +33,11 @@
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
||||||
#if defined(Q_COMPILER_VARIADIC_TEMPLATES)
|
#if defined(Q_COMPILER_VARIADIC_TEMPLATES)
|
||||||
|
|
||||||
|
#include "../diagnostic.h"
|
||||||
|
|
||||||
|
QT_WARNING_PUSH
|
||||||
|
QT_WARNING_DISABLE_GCC("-Weffc++")
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
struct QNonConstOverload
|
struct QNonConstOverload
|
||||||
{
|
{
|
||||||
|
@ -80,6 +85,8 @@ template <typename... Args> Q_CONSTEXPR Q_DECL_UNUSED QConstOverload<Args...> qC
|
||||||
template <typename... Args> Q_CONSTEXPR Q_DECL_UNUSED QNonConstOverload<Args...> qNonConstOverload = {};
|
template <typename... Args> Q_CONSTEXPR Q_DECL_UNUSED QNonConstOverload<Args...> qNonConstOverload = {};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QT_WARNING_POP
|
||||||
|
|
||||||
#endif // Q_COMPILER_VARIADIC_TEMPLATES
|
#endif // Q_COMPILER_VARIADIC_TEMPLATES
|
||||||
#endif // QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
#endif // QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user