OSDN Git Service

bootctl: Return<T> is non-copyable.
authorYifan Hong <elsk@google.com>
Fri, 17 Feb 2017 22:35:07 +0000 (14:35 -0800)
committerYifan Hong <elsk@google.com>
Fri, 17 Feb 2017 22:49:38 +0000 (22:49 +0000)
commit83a2fdb4e10b9c308d470fd3bc99f483fc0af2bd
tree9efd8f703363d9f5d059876467dd98691b0d7f50
parentff972054e9a876a79fbe6a3ba075536e621234ed
bootctl: Return<T> is non-copyable.

By copying the Return<T> in handl_return, the original
Return<T> object is left status unchecked when it is destroyed.

Test: compiles
Change-Id: I7bf21370e8323374deb9a8d3f252e9742357f000
bootctl/bootctl.cpp