diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-05-11 12:32:17 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2018-05-11 14:03:44 +0000 |
commit | 7e8c1b10482af25bc186a915491f9e8019c7c88e (patch) | |
tree | 8bf990d8741e9973671ce8c9216bf284c57422d2 /storage | |
parent | 7f9b18ca59582ec1c2869fe4c5497aaf60cc8db7 (diff) |
Catch by reference
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/tests/storageserver/bouncertest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/tests/storageserver/bouncertest.cpp b/storage/src/tests/storageserver/bouncertest.cpp index 0882d7c07c8..4d739aab2d6 100644 --- a/storage/src/tests/storageserver/bouncertest.cpp +++ b/storage/src/tests/storageserver/bouncertest.cpp @@ -306,12 +306,12 @@ BouncerTest::outOfBoundsConfigValuesThrowException() try { configureRejectionThreshold(256); CPPUNIT_FAIL("Upper bound violation not caught"); - } catch (config::InvalidConfigException) {} + } catch (config::InvalidConfigException &) {} try { configureRejectionThreshold(-2); CPPUNIT_FAIL("Lower bound violation not caught"); - } catch (config::InvalidConfigException) {} + } catch (config::InvalidConfigException &) {} } |