aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@qt.io>2018-02-28 15:50:06 +0200
committerVille Voutilainen <ville.voutilainen@qt.io>2018-02-28 16:10:48 +0000
commit2474eb092aace8f58bd49a61ec712b5ae4dd1245 (patch)
treef855b80afe96e86a3da6f4dc2dbd7afa535b9be6 /src/qml/jsruntime/qv4engine.cpp
parent520c26b82182e9dfe29e4993c74c8c7225c66aa0 (diff)
Silence a GCC 8 warning in qqmljsparser
qtdeclarative/src/qml/parser/qqmljsparser.cpp:82:129: error: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class QStringRef’; use ‘new’ and ‘delete’ instead [-Werror=class-memaccess] string_stack = reinterpret_cast<QStringRef*> (realloc(string_stack, stack_size * sizeof(QStringRef))); Change-Id: I670b8a860bf3dc9c20126306f7848f38acd75ca9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions