mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
auth: AuthClientHandler::init() pass parameter by const ref
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
a2fb70ddca
commit
5871a6f403
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user