diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-02-03 23:04:36 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-02-04 18:47:02 +0100 |
| commit | 694a92ab24787fae85a391691e841e142e4bfc18 (patch) | |
| tree | b7be79d5e248fd113d0f4641b4ce40d54b6698fa /src/tools/uic/cpp/cppwriteinitialization.cpp | |
| parent | 18c73ad47d5d643b6410f96fe3973e97775e2a13 (diff) | |
SQL/ODBC: optimize toSQLTCHAR() - avoid an unneeded copy
Avoid an unneeded copy in toSQLTCHAR() when sizeof(SQLTCHAR) == 1 or 4
by directly writing the encoded data into the QVarLengthArray.
Change-Id: Ic4180343764fa1ca175a9cdd444c5359d664c754
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions
