summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/widgetdelegate.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-04-18 08:59:43 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-04-18 19:06:02 +0200
commit5b6c6dab632a32a09963453b08731e9e33334e9a (patch)
tree114ba79a1eb1bd191fa7c2b53b58e18a314f8327 /src/widgets/doc/snippets/widgetdelegate.cpp
parentd4aaf61b3333b48b4e79ad60b63bb50dbea72617 (diff)
tst_QRestAccessManager: fix signature of server handlers
HttpTestServer::Handler is declared to take the first argument by reference to const, not by value, so use the same parameter passing for the lambdas passed to setHandler(). Avoids copying the (rather large) argument when invoked through the std::function wrapper, and silences clazy-function-args-by-ref. Pick-to: 6.7 Change-Id: I726d0b98a7fcb3b1b33c5bde203035f593c39bdd Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/widgetdelegate.cpp')
0 files changed, 0 insertions, 0 deletions