diff options
author | Jack Lloyd <[email protected]> | 2017-08-29 11:16:38 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-29 11:16:38 -0400 |
commit | 433beecf569b8066779e2a69c95eac8de4c6868a (patch) | |
tree | 6453de4c96bba6349f608ce2cd7f324f57531cdd /src/cli | |
parent | 24f412a38d05db5ef8406dfdf6ff8e02dec4fbc4 (diff) |
Avoid catching by value
Sonar find
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/timing_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/timing_tests.cpp b/src/cli/timing_tests.cpp index 6ffbbddc2..4e90751ff 100644 --- a/src/cli/timing_tests.cpp +++ b/src/cli/timing_tests.cpp @@ -156,7 +156,7 @@ class Manger_Timing_Test : public Timing_Test { m_dec.decrypt(input.data(), m_ctext_length); } - catch(Botan::Decoding_Error e) + catch(Botan::Decoding_Error& e) { } ticks end = get_ticks(); |