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/sdbusplus.hpp b/sdbusplus.hpp index 6787f49..909fbc3 100644 --- a/sdbusplus.hpp +++ b/sdbusplus.hpp
@@ -306,7 +306,7 @@ } return mapperResp.begin()->first; } - catch (DBusMethodError& e) + catch (const DBusMethodError& e) { throw DBusServiceError{path, interface}; }