commit | a95e8c81bb88c170cede32f3cb45356f7af7e023 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:30:08 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:30:08 2021 -0500 |
tree | 5953b3c1db9d59293bda7c0587670c37b215cd99 | |
parent | cfdfa0da249777b7aad9dacf4e4e3198d8309da5 [diff] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie65c8699ac992c3f4ef0450b9be65bb27e58cc2d
diff --git a/src/event_serialize.cpp b/src/event_serialize.cpp index ca43c41..780f8c4 100644 --- a/src/event_serialize.cpp +++ b/src/event_serialize.cpp
@@ -81,7 +81,7 @@ } return false; } - catch (cereal::Exception& e) + catch (const cereal::Exception& e) { log<level::ERR>(e.what()); std::error_code ec;