main: Remove shared_ptr copy

GCC 11 complains about it and it isn't needed.

Change-Id: Ia0bb3d1aea29d0505a9868b1f922338a87710ddb
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/main.cpp b/main.cpp
index 6e757aa..db15b8d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -84,7 +84,7 @@
     static std::vector<std::shared_ptr<boost::asio::steady_timer>> timers;
     static bool isCanceling = false;
 
-    for (const auto timer : timers)
+    for (const auto& timer : timers)
     {
         timer->cancel();
     }