commit | 26601e8919552a52bd8b23aa85fac30088f03303 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:43:25 2021 -0500 |
committer | Ed Tanous <ed@tanous.net> | Thu Oct 07 15:43:19 2021 +0000 |
tree | bdec8ba9c2c2c08ec1e0239ed69ec2616f45d2cf | |
parent | a040ec4013d2deb544fed4b1453d51a35fc26499 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9e474f2b3e936b9961eaa08693744c466736e768
diff --git a/src/TachSensor.cpp b/src/TachSensor.cpp index d2afba7..30ab202 100644 --- a/src/TachSensor.cpp +++ b/src/TachSensor.cpp
@@ -228,7 +228,7 @@ gpioFd.assign(gpioLineFd); } - catch (std::system_error&) + catch (const std::system_error&) { std::cerr << "Error reading gpio: " << gpioName << "\n"; status = false;