Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 0e8eb20. Pick-to: 6.8 6.7 6.5 Change-Id: Idcaa441517fdbf00fefd952db7928731779123ab Reviewed-by: Thiago Macieira <[email protected]>
- Loading branch information