From 9c7aa2cbbdd79133223b9dbde78fbb462f2861ab Mon Sep 17 00:00:00 2001 From: m-holger Date: Sun, 19 Mar 2023 16:57:27 +0000 Subject: Code tidy re-throwing of exceptions Avoid copying exceptions. --- libqpdf/NNTree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/NNTree.cc') diff --git a/libqpdf/NNTree.cc b/libqpdf/NNTree.cc index 777bd553..dbcdc1f9 100644 --- a/libqpdf/NNTree.cc +++ b/libqpdf/NNTree.cc @@ -899,7 +899,7 @@ NNTreeImpl::find(QPDFObjectHandle key, bool return_prev_if_not_found) repair(); return findInternal(key, return_prev_if_not_found); } else { - throw e; + throw; } } } -- cgit v1.2.3-54-g00ecf