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/lib/pubkey/keypair/keypair.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/pubkey/keypair/keypair.cpp') diff --git a/src/lib/pubkey/keypair/keypair.cpp b/src/lib/pubkey/keypair/keypair.cpp index ef211ffd4..0f5a48541 100644 --- a/src/lib/pubkey/keypair/keypair.cpp +++ b/src/lib/pubkey/keypair/keypair.cpp @@ -59,7 +59,7 @@ bool signature_consistency_check(RandomNumberGenerator& rng, { signature = signer.sign_message(message, rng); } - catch(Encoding_Error) + catch(Encoding_Error&) { return false; } -- cgit v1.2.3