QDoc: Actually move link and description into the link map
Node::setLink() takes its link and description as const references
and applies std::move to both before filing them into the link map.
Moving from a const reference is a silent copy: the code reads as a
transfer of ownership that never happens, and static analysis flags
the parameters as returned in a moved-from state.
The function now takes both strings by value and genuinely moves
them into the map. Callers passing temporaries gain a real move;
callers passing lvalues copy exactly as before, at the call
boundary, where the cost is visible.
Coverity-Id: 909806
Coverity-Id: 909821
Pick-to: 6.12
Change-Id: I2e2c4fbf6fcc46db27766bef672975448d7dae8d
Reviewed-by: David Boddie <david.boddie@qt.io>