aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_utils.cpp')
-rw-r--r--src/tests/test_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_utils.cpp b/src/tests/test_utils.cpp
index c17acac57..5f3502eba 100644
--- a/src/tests/test_utils.cpp
+++ b/src/tests/test_utils.cpp
@@ -51,7 +51,7 @@ class Utility_Function_Tests final : public Text_Based_Test
Botan::round_up(x, 0);
result.test_failure("round_up did not reject invalid input");
}
- catch(std::exception) {}
+ catch(std::exception&) {}
}
else if(algo == "round_down")
{