From: J. Eric Ivancich Date: Wed, 2 Aug 2017 13:13:18 +0000 (-0400) Subject: osd: update interface with dmclock library to use move semantics X-Git-Tag: v13.0.0~190^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8e92496df2c033f9af9e36dbccfd24a5c1e71bd0;p=ceph-ci.git osd: update interface with dmclock library to use move semantics Signed-off-by: J. Eric Ivancich --- diff --git a/src/common/mClockPriorityQueue.h b/src/common/mClockPriorityQueue.h index b651cf08f4e..7f7b7c35b5c 100644 --- a/src/common/mClockPriorityQueue.h +++ b/src/common/mClockPriorityQueue.h @@ -298,7 +298,7 @@ namespace ceph { void enqueue(K cl, unsigned priority, unsigned cost, T item) override final { // priority is ignored - queue.add_request(item, cl, cost); + queue.add_request(std::move(item), cl, cost); } void enqueue_front(K cl,