diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-07-04 10:56:46 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-07-05 15:38:17 +0200 |
commit | af6b6c8e7cd5ba13a7175db890b21970a1ff82d4 (patch) | |
tree | 973d41f5f969bc5e08900ca1e5bea9297fd6044a /examples/opengl/legacy/overpainting/glwidget.cpp | |
parent | 551127209e6c45fcbbd176a65ad425c47c9bc09c (diff) |
QStringConverter: Do not use std::optional::value()
value() can potentially throw an exception. We know that it doesn't in
this case, but the compiler doesn't know. And our code checker doesn't
know either and generates lots of false positives. Also, without the
exception propagation code the resulting binary is probably smaller.
Coverity-Id: 386110
Coverity-Id: 384314
Coverity-Id: 383835
Coverity-Id: 383784
Pick-to: 6.4
Change-Id: Icdacf8e003fd3a6ac8fd260ed335239a59de3295
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/opengl/legacy/overpainting/glwidget.cpp')
0 files changed, 0 insertions, 0 deletions