summaryrefslogtreecommitdiff
path: root/test/timer.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-02-12 23:11:09 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-02-14 05:32:17 +0100
commitfbc67a54f379654b5d785940850cb9f4edb22c62 (patch)
treec71f44999a5f7983346542e410ba9451027b3a98 /test/timer.cpp
parentddcd8ebb3de0d5938b59eb62b9cf2e5bc430d820 (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 'test/timer.cpp')
0 files changed, 0 insertions, 0 deletions