mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
pass by const auto ref
This commit is contained in:
parent
dd6769a69a
commit
da0ba7d6a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1171,7 +1171,7 @@ void TabGame::createReplayDock(GameReplay *replay)
|
||||||
replayDock->setFloating(false);
|
replayDock->setFloating(false);
|
||||||
|
|
||||||
connect(replayManager, &ReplayManager::eventReplayed, game->getGameEventHandler(),
|
connect(replayManager, &ReplayManager::eventReplayed, game->getGameEventHandler(),
|
||||||
[this](auto event, auto options) {
|
[this](const auto &event, auto options) {
|
||||||
game->getGameEventHandler()->processGameEventContainer(event, nullptr, options);
|
game->getGameEventHandler()->processGameEventContainer(event, nullptr, options);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue