refactor: Server::handleSwitchToScreen use const for our info
This commit is contained in:
parent
9f8f805888
commit
15db716f04
1 changed files with 1 additions and 1 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue