PerformScan: Clean up timer declarations using auto

We can infer the type from the right-hand side.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I7a93c524e02e4d64b0b0acddd3a47d4ef1f0956c
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index 15ccb38..b6667dc 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -66,8 +66,7 @@
                           << " " << instance.path << " "
                           << instance.interface << "\n";
 
-                std::shared_ptr<boost::asio::steady_timer> timer =
-                    std::make_shared<boost::asio::steady_timer>(io);
+                auto timer = std::make_shared<boost::asio::steady_timer>(io);
                 timer->expires_after(std::chrono::seconds(2));
 
                 timer->async_wait([timer, instance, scan, probeVector,
@@ -179,8 +178,8 @@
                     // wrong
                     std::exit(EXIT_FAILURE);
                 }
-                std::shared_ptr<boost::asio::steady_timer> timer =
-                    std::make_shared<boost::asio::steady_timer>(io);
+
+                auto timer = std::make_shared<boost::asio::steady_timer>(io);
                 timer->expires_after(std::chrono::seconds(10));
 
                 timer->async_wait(