diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-12 23:11:09 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-14 05:32:17 +0100 |
commit | fbc67a54f379654b5d785940850cb9f4edb22c62 (patch) | |
tree | c71f44999a5f7983346542e410ba9451027b3a98 /Documentation/theme/layout.html | |
parent | ddcd8ebb3de0d5938b59eb62b9cf2e5bc430d820 (diff) |
Documentation: coding-style: Discourage move on shared_ptr<>
Using std::move() on return statement of a method or on the its returned
value prevents the compiler from implementing copy-elision. Discourage
that in the coding style document.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'Documentation/theme/layout.html')
0 files changed, 0 insertions, 0 deletions