aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4globalobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-06-12 10:52:32 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-24 13:38:25 +0200
commitd41121119b97ed60e543eed4b8d308ad9d250682 (patch)
treeedd6c02af5622f3ba462f1d809da76ed7cf339c0 /src/qml/jsruntime/qv4globalobject.cpp
parenta400d33e812528ea463161c84591ac895d6b1879 (diff)
Don't abuse new to do a reinterpret_cast
Using new to do a reinterpret_cast is rather confusing. Also protect the list model case against self-assignment which could lead to memory corruption. Change-Id: I10b81644d0004d4a50a5a74e5b8c58e27cbe6934 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4globalobject.cpp')
0 files changed, 0 insertions, 0 deletions