aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QUtil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QUtil.cc')
-rw-r--r--libqpdf/QUtil.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/libqpdf/QUtil.cc b/libqpdf/QUtil.cc
index 8edfadae..3e68d95e 100644
--- a/libqpdf/QUtil.cc
+++ b/libqpdf/QUtil.cc
@@ -305,26 +305,6 @@ static std::map<unsigned long, unsigned char> unicode_to_pdf_doc = {
{0x20ac, 0xa0},
};
-namespace
-{
- class FileCloser
- {
- public:
- FileCloser(FILE* f) :
- f(f)
- {
- }
-
- ~FileCloser()
- {
- fclose(f);
- }
-
- private:
- FILE* f;
- };
-} // namespace
-
template <typename T>
static std::string
int_to_string_base_internal(T num, int base, int length)