From 4e2f0e5d741e8b4471870e4e01817e152dd2be50 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 7 Nov 2018 09:15:06 -0500 Subject: Avoid throwing std:: exceptions Also include in mem_ops.cpp as apparently that header is where bad_alloc is defined. --- src/tests/test_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test_tests.cpp') diff --git a/src/tests/test_tests.cpp b/src/tests/test_tests.cpp index 3a52b85b9..eb5b1d42e 100644 --- a/src/tests/test_tests.cpp +++ b/src/tests/test_tests.cpp @@ -143,7 +143,7 @@ class Test_Tests final : public Test { Test::Result test_result(testcase_name); test_result.test_throws("test_throws", "expected msg", - []() { throw std::runtime_error("not the message"); }); + []() { throw Botan::Exception("not the message"); }); verify_failure("test_throws", result, test_result); } -- cgit v1.2.3