Skip to content

Commit

Permalink
osd: update interface with dmclock library to use move semantics
Browse files Browse the repository at this point in the history
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
  • Loading branch information
ivancich committed Aug 2, 2017
1 parent cec8a71 commit 0cc0a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/mClockPriorityQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0cc0a74

Please sign in to comment.