diff options
author | Kefu Chai <kchai@redhat.com> | 2017-10-23 06:17:47 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2017-10-24 10:06:26 +0200 |
commit | f0592e6e76540085ece61f216dda8144a4708118 (patch) | |
tree | afea91adba09593c52774ae936e3731b4945f4f9 /src/mgr/MgrClient.h | |
parent | mgr/MgrClient: store registered event returned by add_event_after() (diff) | |
download | ceph-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.h | 2 |
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(); |