diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-11-23 11:32:21 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-11-23 11:52:25 +0100 |
| commit | 146b37cdf376fb2fde85fa27326acfbeb2a024e3 (patch) | |
| tree | 9b05889d139d51e977a4d7672aef421f4e6af83e /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | f884689d044f03f0e0b9b8fd98b3d1405131ab7c (diff) | |
Return subclass type from overrides of QEvent::clone
C++ allows overrides to return a covariant type, so if calling code has
already cast the callee down to the right type, don't require it to cast
the returned clone down as well.
Pick-to: 6.0 6.0.0
Change-Id: I802f00a3c78e03047046986d0ed0a479b47573b8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
