summaryrefslogtreecommitdiffstats
path: root/storage/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-05-11 12:32:17 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2018-05-11 14:03:44 +0000
commit7e8c1b10482af25bc186a915491f9e8019c7c88e (patch)
tree8bf990d8741e9973671ce8c9216bf284c57422d2 /storage/src
parent7f9b18ca59582ec1c2869fe4c5497aaf60cc8db7 (diff)
Catch by reference
Diffstat (limited to 'storage/src')
-rw-r--r--storage/src/tests/storageserver/bouncertest.cpp4
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 &) {}
}