refactor: Server::handleSwitchToScreen use const for our info

This commit is contained in:
sithlord48
2026-01-16 06:33:00 -05:00
committed by Nick Bolton
parent 9f8f805888
commit 15db716f04

View File

@ -1308,7 +1308,7 @@ void Server::handleClientCloseTimeout(BaseClientProxy *client)
void Server::handleSwitchToScreenEvent(const Event &event)
{
auto *info = static_cast<SwitchToScreenInfo *>(event.getData());
const auto *info = static_cast<SwitchToScreenInfo *>(event.getData());
ClientList::const_iterator index = m_clients.find(info->m_screen);
if (index == m_clients.end()) {