diff options
-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 &) {} } |