projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9c45c
)
Compile.
author
Morten Sorvig
<morten.sorvig@nokia.com>
Wed, 13 Jun 2012 08:01:54 +0000
(10:01 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 14 Jun 2012 01:03:38 +0000
(
03:03
+0200)
Expressions containing "reinterpret_cast" are not
constant expressions according to C++11 rules.
Change-Id: Id97729f184983e5bdda180b99cfbe27e2768e09e
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qbytearray.h
patch
|
blob
|
history
diff --git
a/src/corelib/tools/qbytearray.h
b/src/corelib/tools/qbytearray.h
index
489f5f2
..
82675e0
100644
(file)
--- 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<Data *>(dd.ptr))
{
}