diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-03-19 17:57:27 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-03-19 18:27:39 +0100 |
commit | 9c7aa2cbbdd79133223b9dbde78fbb462f2861ab (patch) | |
tree | 3f2b13265d4b80976b522309cfe75fb3575eda4b /libqpdf/NNTree.cc | |
parent | 1e53da74bc3cf0cbd3bd3dae2890e83ad33c3ed4 (diff) | |
download | qpdf-9c7aa2cbbdd79133223b9dbde78fbb462f2861ab.tar.zst |
Code tidy re-throwing of exceptions
Avoid copying exceptions.
Diffstat (limited to 'libqpdf/NNTree.cc')
-rw-r--r-- | libqpdf/NNTree.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |