Apply clang-tidy suggestion to use const ref

This commit is contained in:
Mm2PL 2022-09-17 14:40:51 +02:00
parent 54d5ce5568
commit 4455251a74
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -824,7 +824,7 @@ void UserInfoPopup::updateUserData()
// get followage and subage // get followage and subage
getIvr() getIvr()
->subage(this->userName_, this->underlyingChannel_->getName()) ->subage(this->userName_, this->underlyingChannel_->getName())
.onSuccess([this, hack](NetworkResult, .onSuccess([this, hack](const NetworkResult & /* result */,
const IvrSubage &subageInfo) -> Outcome { const IvrSubage &subageInfo) -> Outcome {
if (!hack.lock()) if (!hack.lock())
{ {