From 7d20cc069c82fac9d7b01f5c820db6901941fb6b Mon Sep 17 00:00:00 2001 From: John Spray Date: Sat, 4 Feb 2017 23:31:16 +0000 Subject: [PATCH] osdc: cmd arg should be const on Objecter::send_command Signed-off-by: John Spray --- src/osdc/Objecter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 366759acb92..b00ed221818 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -2112,7 +2112,7 @@ public: epoch_t op_cancel_writes(int r, int64_t pool=-1); // commands - void osd_command(int osd, vector& cmd, + void osd_command(int osd, const std::vector& cmd, const bufferlist& inbl, ceph_tid_t *ptid, bufferlist *poutbl, string *prs, Context *onfinish) { assert(osd >= 0); -- 2.47.3