D26130: Simplify return logic
Kevin Ottens
noreply at phabricator.kde.org
Mon Dec 23 17:24:28 GMT 2019
ervin requested changes to this revision.
ervin added a comment.
This revision now requires changes to proceed.
This is pointless, most compilers would do NRVO (+ move assign) here... which would be neatly obliterated by the ternary operator. This is a pessimisation you're proposing here, not an optimization.
REPOSITORY
R237 KConfig
REVISION DETAIL
https://phabricator.kde.org/D26130
To: tcanabrava, patrickelectric, ervin
Cc: ervin, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/3c7c5dd3/attachment.html>
More information about the Kde-frameworks-devel
mailing list