mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
Update PegLib, Fix Database Searching CFG (#5244)
* Support C++20 Standard * Update peglib.h * Fix lambdas * Move from for loops to std::any/all_of * Support fixed CFG * Fix Rarity Search to be more accurate
This commit is contained in:
parent
0d99b2bcf4
commit
91d2485940
10 changed files with 3851 additions and 2192 deletions
|
|
@ -253,7 +253,7 @@ void UserInfoBox::actPassword()
|
|||
connect(pend,
|
||||
// we need qoverload here in order to select the right version of this function
|
||||
QOverload<const Response &, const CommandContainer &, const QVariant &>::of(&PendingCommand::finished),
|
||||
this, [=](const Response &response, const CommandContainer &, const QVariant &) {
|
||||
this, [=, this](const Response &response, const CommandContainer &, const QVariant &) {
|
||||
if (response.response_code() == Response::RespOk) {
|
||||
changePassword(oldPassword, newPassword);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue