commit | 66491c61112291602b0dd31ac550214025334d90 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:23:37 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:23:37 2021 -0500 |
tree | 560de7f6ffd6e0dd062a6a074a233d9b62d740ad | |
parent | 242be740393b9714caa51c6f9dc0da4b9a513aec [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic8e6ade739bd5ea6e79cac6b9bb2b182748e10c8
diff --git a/callouts/callout_test.cpp b/callouts/callout_test.cpp index 729bbf5..fd2cf17 100644 --- a/callouts/callout_test.cpp +++ b/callouts/callout_test.cpp
@@ -22,7 +22,7 @@ TestCallout::CALLOUT_ERRNO_TEST(0), TestCallout::CALLOUT_DEVICE_PATH_TEST(argv[1])); } - catch (TestCallout& e) + catch (const TestCallout& e) { commit(e.name()); }