summaryrefslogtreecommitdiffstats
path: root/src/mgr/MgrClient.h
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2017-10-23 06:17:47 +0200
committerKefu Chai <kchai@redhat.com>2017-10-24 10:06:26 +0200
commitf0592e6e76540085ece61f216dda8144a4708118 (patch)
treeafea91adba09593c52774ae936e3731b4945f4f9 /src/mgr/MgrClient.h
parentmgr/MgrClient: store registered event returned by add_event_after() (diff)
downloadceph-f0592e6e76540085ece61f216dda8144a4708118.tar.xz
ceph-f0592e6e76540085ece61f216dda8144a4708118.zip
rados,mgr: pass daemon_status by rvalue reference
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/mgr/MgrClient.h')
-rw-r--r--src/mgr/MgrClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mgr/MgrClient.h b/src/mgr/MgrClient.h
index be7a0945fbe..5fcbe638384 100644
--- a/src/mgr/MgrClient.h
+++ b/src/mgr/MgrClient.h
@@ -116,7 +116,7 @@ public:
const std::string& name,
const std::map<std::string,std::string>& metadata);
int service_daemon_update_status(
- const std::map<std::string,std::string>& status);
+ std::map<std::string,std::string>&& status);
private:
void send_stats();