This constructor is there only to force compile time error.
Change-Id: Ia2e059e0c7fa516949a166da8856543a5608d217
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
#endif
/*!
- Block automatic convertion to bool
- \internal
-*/
-QJSValue::QJSValue(void* d)
-{
- Q_UNUSED(d);
- Q_ASSERT(false);
-}
-
-/*!
Constructs a new QJSValue from private
\internal
*/
private:
// force compile error, prevent QJSValue(bool) to be called
- QJSValue(void *);
+
+ QJSValue(void *) Q_DECL_EQ_DELETE;
QJSValue(QJSValuePrivate*);
QJSValue(QScriptPassPointer<QJSValuePrivate>);