diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-08-05 23:05:40 +0300 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-08-06 14:49:16 +0000 |
commit | e38064f698b03a3357943ed4c8e0d25fa6695418 (patch) | |
tree | 7a76f221d44a85b51c47da8ed5d576f219125ec3 /tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp | |
parent | c0b6e16ffa0edf0ed76cfdfeb71ec3aae99c98dd (diff) |
tst_utf8: use QScopedPointer, not QSharedPointer
There's no sharing, and the use of QSharedPointer(T*)
triggers my tree's static analyzer.
Easiest fix is to port to QScopedPointer, which is the
correct smart pointer to begin with.
Change-Id: I105c1a334c3d6712a475600c8394b0bebc420677
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp')
0 files changed, 0 insertions, 0 deletions