commit | 3e2d964133ac876ed2cc110e07da91a51bac2041 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:35:04 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:35:04 2021 -0500 |
tree | 42869a26062c183637a1565e5d2d6eda5a606b80 | |
parent | 1707945afbd6c73376a994f7a576a22c0bfb9c6e [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5a06698ddd6f91510a34aaf9df535bd34c099c0
diff --git a/serialize.hpp b/serialize.hpp index 32648e2..4bae397 100644 --- a/serialize.hpp +++ b/serialize.hpp
@@ -86,7 +86,7 @@ iarchive(object); } } - catch (cereal::Exception& e) + catch (const cereal::Exception& e) { phosphor::logging::log<phosphor::logging::level::ERR>(e.what()); fs::remove(p);