catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9e474f2b3e936b9961eaa08693744c466736e768
diff --git a/include/CPUSensor.hpp b/include/CPUSensor.hpp
index 29b8209..8b51b76 100644
--- a/include/CPUSensor.hpp
+++ b/include/CPUSensor.hpp
@@ -100,7 +100,7 @@
                       activeHigh ? 0 : gpiod::line_request::FLAG_ACTIVE_LOW});
         resp = line.get_value();
     }
-    catch (std::system_error&)
+    catch (const std::system_error&)
     {
         std::cerr << "Error reading gpio: " << gpioName << "\n";
         return false;