1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Code style: and one more pass on lambda expressions parameter list

This commit is contained in:
Arseniy Shestakov
2017-07-19 02:06:05 +03:00
parent b540ab73ed
commit 6d9f99d4de
9 changed files with 24 additions and 24 deletions

View File

@ -3740,7 +3740,7 @@ void CBonusSelection::startMap()
if(LOCPLINT) // we're currently ingame, so ask for starting new map and end game
{
GH.popInt(this);
LOCPLINT->showYesNoDialog(CGI->generaltexth->allTexts[67], [=]
LOCPLINT->showYesNoDialog(CGI->generaltexth->allTexts[67], [=]()
{
updateCampaignState();
endGame();
@ -3758,7 +3758,7 @@ void CBonusSelection::startMap()
void CBonusSelection::restartMap()
{
GH.popInt(this);
LOCPLINT->showYesNoDialog(CGI->generaltexth->allTexts[67], [=]
LOCPLINT->showYesNoDialog(CGI->generaltexth->allTexts[67], [=]()
{
updateCampaignState();
auto si = new StartInfo(startInfo);