commit | b6fa9bb18844b6b2c8794fc2fb8ec953e8fc339d | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:27:57 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:27:57 2021 -0500 |
tree | 496552a7690b3d1a3a14ed13af268187b790b937 | |
parent | 235526310114281794f37e177eab34456d059c7a [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic4d935b6d33e49dfb5606239b20db10514a95c1a
diff --git a/settings_manager.mako.hpp b/settings_manager.mako.hpp index d22fd2d..36cb486 100644 --- a/settings_manager.mako.hpp +++ b/settings_manager.mako.hpp
@@ -318,7 +318,7 @@ initSetting${index}(); } } - catch (cereal::Exception& e) + catch (const cereal::Exception& e) { log<level::ERR>(e.what()); fs::remove(path);