mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Fix catch by value warning
This commit is contained in:
parent
e0981e17a1
commit
10f09d4f43
1 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ UserProfile::fetchDeviceList(const QString &userID)
|
||||||
sign_key.second,
|
sign_key.second,
|
||||||
json(mk.value()),
|
json(mk.value()),
|
||||||
sign.at(sign_key.first)));
|
sign.at(sign_key.first)));
|
||||||
} catch (std::out_of_range) {
|
} catch (std::out_of_range &) {
|
||||||
isUserVerified =
|
isUserVerified =
|
||||||
isUserVerified || false;
|
isUserVerified || false;
|
||||||
}
|
}
|
||||||
|
@ -226,7 +226,7 @@ UserProfile::fetchDeviceList(const QString &userID)
|
||||||
.cross_verified
|
.cross_verified
|
||||||
.push_back(d.first);
|
.push_back(d.first);
|
||||||
}
|
}
|
||||||
} catch (std::out_of_range) {
|
} catch (std::out_of_range &) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue