Pass parameter by value.
This commit is contained in:
parent
3f2f45a802
commit
93b3f64121
@ -690,7 +690,7 @@ void AuthManager::on_log_out_result(NetQueryPtr &result) {
|
||||
on_query_ok();
|
||||
}
|
||||
}
|
||||
void AuthManager::on_authorization_lost(const string &source) {
|
||||
void AuthManager::on_authorization_lost(string source) {
|
||||
LOG(WARNING) << "Lost authorization because of " << source;
|
||||
destroy_auth_keys();
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ class AuthManager final : public NetActor {
|
||||
|
||||
void on_update_login_token();
|
||||
|
||||
void on_authorization_lost(const string &source);
|
||||
void on_authorization_lost(string source);
|
||||
void on_closing(bool destroy_flag);
|
||||
|
||||
// can return nullptr if state isn't initialized yet
|
||||
|
Loading…
x
Reference in New Issue
Block a user