From 4242b7593b5aae2b2d1483fcc7ff002c1deeb956 Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Mon, 8 Feb 2016 21:01:11 +0100 Subject: V816 It is more efficient to catch exception by reference rather than by value. asn1_time.cpp 159 --- src/tests/test_x509_path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/test_x509_path.cpp b/src/tests/test_x509_path.cpp index 9bdf3721a..7e2039ab4 100644 --- a/src/tests/test_x509_path.cpp +++ b/src/tests/test_x509_path.cpp @@ -145,7 +145,7 @@ std::vector NIST_Path_Validation_Tests::run() // Do nothing, just test filesystem access Botan::get_files_recursive(nist_test_dir); } - catch(Botan::No_Filesystem_Access) + catch(Botan::No_Filesystem_Access&) { Test::Result result("NIST path validation"); result.test_note("Skipping due to missing filesystem access"); -- cgit v1.2.3