aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/qml/v8/qjsvalue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/v8/qjsvalue.h b/src/declarative/qml/v8/qjsvalue.h
index bfe0ec0951..07fe3dcfac 100644
--- a/src/declarative/qml/v8/qjsvalue.h
+++ b/src/declarative/qml/v8/qjsvalue.h
@@ -68,7 +68,7 @@ public:
QJSValue(const QString &value);
QJSValue(const QLatin1String &value);
#ifndef QT_NO_CAST_FROM_ASCII
- QT_ASCII_CAST_WARN_CONSTRUCTOR QJSValue(const char *str);
+ QT_ASCII_CAST_WARN QJSValue(const char *str);
#endif
QJSValue &operator=(const QJSValue &other);