that introduced a compilation error that was not noticed since the
dmclock support/testing simulators are not built by ceph.
Also, changes below the src/dmclock tree should be made in the dmclock
library and then pulled into ceph.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
void add_request(R&& request,
const C& client_id,
const ReqParams& req_params) {
- add_request(std::move(request), client_id, req_params);
+ add_request(RequestRef(new R(std::move(request))),
+ client_id, req_params);
}
- void add_request(R&& request,
+ void add_request(RequestRef&& request,
const C& client_id,
const ReqParams& req_params) {
DataGuard g(queue_mtx);