From 11423ef5a1755321e3f20081170f558868a65810 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 27 Apr 2025 12:32:26 -0400 Subject: [PATCH] chore: ClientApp, use auto where possible --- src/lib/deskflow/ClientApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/deskflow/ClientApp.cpp b/src/lib/deskflow/ClientApp.cpp index 3a3cf6766..3ea10394d 100644 --- a/src/lib/deskflow/ClientApp.cpp +++ b/src/lib/deskflow/ClientApp.cpp @@ -267,7 +267,7 @@ void ClientApp::closeClientScreen(deskflow::Screen *screen) void ClientApp::handleClientRestart(const Event &, void *vtimer) { // discard old timer - EventQueueTimer *timer = static_cast(vtimer); + auto *timer = static_cast(vtimer); m_events->deleteTimer(timer); m_events->removeHandler(Event::kTimer, timer); @@ -337,7 +337,7 @@ void ClientApp::handleClientDisconnected(const Event &, void *) Client *ClientApp::openClient(const std::string &name, const NetworkAddress &address, deskflow::Screen *screen) { - Client *client = new Client(m_events, name, address, getSocketFactory(), screen, args()); + auto *client = new Client(m_events, name, address, getSocketFactory(), screen, args()); try { m_events->adoptHandler(