diff options
author | Kefu Chai <kchai@redhat.com> | 2016-09-14 15:38:46 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2017-02-14 05:58:22 +0100 |
commit | 5871a6f403f0e03f3b39e5a2b6ad26146644bcc1 (patch) | |
tree | 2d1a79d692f37620f980b80c5bd91d358dd3c701 /src/auth/AuthClientHandler.h | |
parent | Merge pull request #13391 from Adirl/ibv_exp (diff) | |
download | ceph-5871a6f403f0e03f3b39e5a2b6ad26146644bcc1.tar.xz ceph-5871a6f403f0e03f3b39e5a2b6ad26146644bcc1.zip |
auth: AuthClientHandler::init() pass parameter by const ref
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/auth/AuthClientHandler.h')
-rw-r--r-- | src/auth/AuthClientHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth/AuthClientHandler.h b/src/auth/AuthClientHandler.h index 52ba41abc85..b397f883c92 100644 --- a/src/auth/AuthClientHandler.h +++ b/src/auth/AuthClientHandler.h @@ -39,7 +39,7 @@ public: lock("AuthClientHandler::lock") {} virtual ~AuthClientHandler() {} - void init(EntityName& n) { name = n; } + void init(const EntityName& n) { name = n; } void set_want_keys(__u32 keys) { RWLock::WLocker l(lock); |