pass by const auto ref

This commit is contained in:
RickyRister 2026-06-07 19:02:50 -07:00
parent dd6769a69a
commit da0ba7d6a3

View file

@ -1171,7 +1171,7 @@ void TabGame::createReplayDock(GameReplay *replay)
replayDock->setFloating(false);
connect(replayManager, &ReplayManager::eventReplayed, game->getGameEventHandler(),
[this](auto event, auto options) {
[this](const auto &event, auto options) {
game->getGameEventHandler()->processGameEventContainer(event, nullptr, options);
});
}