summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengltextureuploader.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-08-08 11:43:53 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2018-08-20 09:08:50 +0000
commit4932cef5b84d782f51ae7c6f77e09555bceacfee (patch)
tree95bf35a8e999b8c1b0a8b41ae40c9513838bfad4 /src/gui/opengl/qopengltextureuploader.cpp
parent54d062160d3a3d1c282cd19b57770611db3ea8eb (diff)
Cast away -Wclass-memaccess warnings in QVarLengthArray methods
With g++ 8.2.0, I get warnings when a QVarLengthArray<QString> calls remove() or prepend(), as some tests in tst_QVarLengthArray do, as they call memmove() "writing to an object of type ‘class QString’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead"; which may indeed be a good argument for not using QVarLengthArray<QString>, but its own tests do. Change-Id: I4f8a64948b32a54e67a285df4ec7788f60739ffb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/opengl/qopengltextureuploader.cpp')
0 files changed, 0 insertions, 0 deletions