Mike Percy has submitted this change and it was merged.

Change subject: threadpool: use move semantics where possible
......................................................................


threadpool: use move semantics where possible

This uses std::move() where possible to avoid extra copies or reference
counting overhead in the ThreadPool code.

Change-Id: I180154bd7fd9ecd40188490db0b60ae8e58e554f
Reviewed-on: http://gerrit.cloudera.org:8080/5518
Tested-by: Kudu Jenkins
Reviewed-by: Mike Percy <[email protected]>
---
M src/kudu/util/threadpool.cc
M src/kudu/util/threadpool.h
2 files changed, 7 insertions(+), 9 deletions(-)

Approvals:
  Mike Percy: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/5518
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I180154bd7fd9ecd40188490db0b60ae8e58e554f
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to