diff options
| author | Lars Knoll <lars.knoll@qt.io> | 2020-05-20 21:59:21 +0200 |
|---|---|---|
| committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-08-19 19:48:11 +0200 |
| commit | 8dc7761e6d490877af18949c0177097e5c857424 (patch) | |
| tree | 1bbab7de63ebb95a45b712c09486bba264b16a18 /src/sql/doc/snippets/sqldatabase | |
| parent | 3398eeadf617880af38fb540f26273df87ba0b1f (diff) | |
Fix QXmlStreamSimpleStack to work also with non POD data types
The current code is already undefined behavior, as QStringRef is not POD.
It happened to work, because the destructor is empty. Fix this and rather
let the compiler determine whether it needs to call any constructors
or destructors.
Change-Id: Idc8710df539603b0ca401a9453f2501f01beaab4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
