From: Morten Sorvig Date: Wed, 13 Jun 2012 08:01:54 +0000 (+0200) Subject: Compile. X-Git-Tag: 071012110112~399 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfca0a1bb65851254156e459cc3ae76fdababf9c;p=profile%2Fivi%2Fqtbase.git Compile. Expressions containing "reinterpret_cast" are not constant expressions according to C++11 rules. Change-Id: Id97729f184983e5bdda180b99cfbe27e2768e09e Reviewed-by: Jędrzej Nowacki Reviewed-by: Thiago Macieira --- diff --git a/src/corelib/tools/qbytearray.h b/src/corelib/tools/qbytearray.h index 489f5f2..82675e0 100644 --- a/src/corelib/tools/qbytearray.h +++ b/src/corelib/tools/qbytearray.h @@ -374,7 +374,7 @@ public: int length() const { return d->size; } bool isNull() const; - Q_DECL_CONSTEXPR inline QByteArray(QByteArrayDataPtr dd) + inline QByteArray(QByteArrayDataPtr dd) : d(reinterpret_cast(dd.ptr)) { }