diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-08-05 05:10:02 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-08-05 05:10:02 (GMT) |
commit | 1ca575eaf7c166f823b82132110ea066be819540 (patch) | |
tree | 6e17d65fc81f8624dc761c8e1f26b39cde204798 /src/declarative/qml/qdeclarativeprivate.h | |
parent | 5a98d58c1ed78262c20b05aa178a92b4a1a097df (diff) | |
download | Qt-1ca575eaf7c166f823b82132110ea066be819540.zip Qt-1ca575eaf7c166f823b82132110ea066be819540.tar.gz Qt-1ca575eaf7c166f823b82132110ea066be819540.tar.bz2 |
Fix warning from whining complier.
Task-number: QTBUG-12473
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/qml/qdeclarativeprivate.h')
-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); }; |