diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-07-22 10:06:07 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-07-22 19:08:32 +0000 |
| commit | fba67959acb7be39942aa3ce829f6764c46ad3ee (patch) | |
| tree | 708da5a057520403015be8e0fc123df9206e055e /src/sql/models/qsqlrelationaltablemodel.cpp | |
| parent | a90a1ebac8b07e6cb8e0b62eefb714a77bb3ed8f (diff) | |
QPlainTextLogger: FixedBufString: simplify appendf()
qsnprintf() does not make a difference between lvalue and rvalue
arguments, so the wrapper doesn't need to perfectly forward.
Use decay-copy via by-value arguments to potentially reduce the number
of instantiations required for the existing calls.
Adjust indentation so the continuation line doesn't need to be
re-indented when we'll port qsnprintf() to std::snprintf().
Amends 0e8eb20af43ca473b7a7639bb2941c9e6bad537b.
Pick-to: 6.8 6.7 6.5
Change-Id: Idcaa441517fdbf00fefd952db7928731779123ab
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/models/qsqlrelationaltablemodel.cpp')
0 files changed, 0 insertions, 0 deletions
