aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/OHArray.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-03-25 17:59:49 +0100
committerm-holger <m-holger@kubitscheck.org>2023-03-29 14:00:28 +0200
commit1367226002d48bc0d67c08cae498fd92dad41977 (patch)
treefb98851405304696f608b9f08ce16f934c592016 /libqpdf/OHArray.cc
parentad2875a4aa6cc22e32bbaa848ae71619ff51c138 (diff)
downloadqpdf-1367226002d48bc0d67c08cae498fd92dad41977.tar.zst
Remove temporary OHArray::at
Diffstat (limited to 'libqpdf/OHArray.cc')
-rw-r--r--libqpdf/OHArray.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/libqpdf/OHArray.cc b/libqpdf/OHArray.cc
index 22b99b13..dc01421f 100644
--- a/libqpdf/OHArray.cc
+++ b/libqpdf/OHArray.cc
@@ -11,17 +11,6 @@ OHArray::OHArray()
{
}
-QPDFObjectHandle
-OHArray::at(size_t idx) const
-{
- if (idx >= elements.size()) {
- throw std::logic_error(
- "INTERNAL ERROR: bounds error accessing OHArray element");
- }
- auto const& obj = elements.at(idx);
- return obj ? obj : null_oh;
-}
-
void
OHArray::disconnect()
{