diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-08-05 05:10:02 (GMT) |
---|---|---|
committer | Toby Tomkins <toby.tomkins@nokia.com> | 2010-08-08 11:10:20 (GMT) |
commit | df00d9b1b18a008110324f0b459cc783250755ee (patch) | |
tree | 0759f6b8ca6bb36dae949252ae920748096174a5 | |
parent | fb7810f733ad9719604e43e535ae0c8dc708cb10 (diff) | |
download | Qt-df00d9b1b18a008110324f0b459cc783250755ee.zip Qt-df00d9b1b18a008110324f0b459cc783250755ee.tar.gz Qt-df00d9b1b18a008110324f0b459cc783250755ee.tar.bz2 |
Fix warning from whining complier.
Task-number: QTBUG-12473
Reviewed-by: Aaron Kennedy
(cherry picked from commit 1ca575eaf7c166f823b82132110ea066be819540)
-rw-r--r-- | src/declarative/qml/qdeclarativeprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeprivate.h b/src/declarative/qml/qdeclarativeprivate.h index b2d7451..cb916bf 100644 --- a/src/declarative/qml/qdeclarativeprivate.h +++ b/src/declarative/qml/qdeclarativeprivate.h @@ -132,6 +132,7 @@ namespace QDeclarativePrivate template <typename T, bool hasMember> class has_attachedPropertiesMethod { + public: typedef int yes_type; typedef char no_type; @@ -139,7 +140,6 @@ namespace QDeclarativePrivate static yes_type check(ReturnType *(*)(QObject *)); static no_type check(...); - public: static bool const value = sizeof(check(&T::qmlAttachedProperties)) == sizeof(yes_type); }; |