]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: use std::move() for better performance 16620/head
authorXinying Song <songxinying@cloudin.cn>
Thu, 27 Jul 2017 07:52:54 +0000 (15:52 +0800)
committerXinying Song <songxinying@cloudin.cn>
Thu, 27 Jul 2017 07:52:54 +0000 (15:52 +0800)
commite15b2b9cc8cb2db6f4033bbc06328201380821a0
tree4cc80dba0df19dce0021180f5e31bc9d940925cb
parent42d14a62c8fe13299c02c499434ab7112b7216b0
common: use std::move() for better performance

use std::move() to avoid extra copy constructions in src/common/OutputDataSocket.cc.

Signed-off-by: Xinying Song <songxinying@cloudin.cn>
src/common/OutputDataSocket.cc