commit | c3600d86bc6a911e11933e5d727f4e5bac8ce411 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:38:25 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:38:25 2021 -0500 |
tree | 9653626a865d89e9afcec5cb628146b34c2829c5 | |
parent | 9e60ef5f73de20555bbc197eb93ba888775e19e5 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iee4354d96981eac216425c71668f8eb72e146977
diff --git a/snmp_serialize.cpp b/snmp_serialize.cpp index 2a04109..1b47d4e 100644 --- a/snmp_serialize.cpp +++ b/snmp_serialize.cpp
@@ -82,7 +82,7 @@ } return false; } - catch (cereal::Exception& e) + catch (const cereal::Exception& e) { log<level::ERR>(e.what()); std::error_code ec;