diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-12-08 12:01:24 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-12-12 00:11:10 +0100 |
| commit | f9df77043a891c3089de5c47d53b369b64121795 (patch) | |
| tree | 717e530a49d2203bf00c52b57469357a52a7b1bc /src/concurrent/qtconcurrentrun.cpp | |
| parent | 39c381705d0e158cf33fcefbfd55d2e3cdc8cad0 (diff) | |
QRMA: return just auto in mutable at() overloads
All mutable at() overloads return a reference wrapper object, so no need
for decltype(auto) return types.
All const at() overloads for rows return either a reference, or a view
wrapper on the row, so we use decltype(auto) consistently for those, as
we want to return a const ref (and not a value) if we get one from the
range.
The at() overloads for getting a value return either the const data
type, or a DataReference wrapper, so we can either be explicit or
use auto.
Remove the qdoc-only type aliases for (const)row_reference, as they are
no longer used in documentation.
Pick-to: 6.11
Change-Id: I319be33a9db2ca61a95eebcde34d83b35b5013b9
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions
