summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeprivate.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-05 05:10:02 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-05 05:10:02 (GMT)
commit1ca575eaf7c166f823b82132110ea066be819540 (patch)
tree6e17d65fc81f8624dc761c8e1f26b39cde204798 /src/declarative/qml/qdeclarativeprivate.h
parent5a98d58c1ed78262c20b05aa178a92b4a1a097df (diff)
downloadQt-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.h2
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);
};