commit | ddb773b2c566c91abb22d8a5e3ae70394789dda5 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 11:24:49 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 11:24:49 2021 -0500 |
tree | 1cc71b72fc075952697d89d5c62eb03935bc979c | |
parent | 16861797f34947f1a8d5106861a37c5598303018 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id1b5054d3147c39d98309bc11ed7016d6909e2a6
diff --git a/presence/tach.cpp b/presence/tach.cpp index 7304676..4c2dc14 100644 --- a/presence/tach.cpp +++ b/presence/tach.cpp
@@ -69,7 +69,7 @@ std::get<double>(s) = util::SDBusPlus::getProperty<double>( tachPath, tachIface, tachProperty); } - catch (std::exception&) + catch (const std::exception&) { // Assume not spinning.