diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-04-14 09:25:12 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-04-22 21:17:47 -0700 |
| commit | 756766eaa0040f734d79ba914d967356f8d48057 (patch) | |
| tree | 1495c1bb888261e91c8b120b0ac4cc86e4afff2b /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 006329964d45bd256cc071ce4f12c22ae61b06b1 (diff) | |
QUrl: use universal/forwarding references for QUrlPrivate::setXxx
This avoids an extra copy of the QString provided by the user in the
public API. Amends commit 31207b539a19182b48c4b3b8413190d505633eea,
which said it wanted to "copy the input QString if it is a QString", but
we only want to copy once (onto the QUrlPrivate).
Change-Id: Id77d3646196e52202f07fffd964bca4683d83769
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
