diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-11-26 16:32:18 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-11-27 04:03:37 +0100 |
| commit | ad29054e14ca506301f27a38f555b0acfae2d239 (patch) | |
| tree | 6e219ae31c3ee08680a1a798f674feb3ffde81f9 /src/corelib/kernel/qobject.cpp | |
| parent | ca2c2e84f0e8c5673dbcf8fe2423d2f4eaec39bc (diff) | |
QColorSpace: restore NRVO in fromIccProfile()
Amends fc5208abc1deef1b6e206a2f6452bc6240dac195, which added the
declaration of a variable of non-trivial type before the declaration
of the result object, causing many (most?) compilers to disable NRVO.
To fix, just swap the declarations of the two variables.
Pick-to: 6.10 6.8 6.5
Change-Id: I3dc194924e44d49eccdc65a6016c4af8b80ff5eb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
