summaryrefslogtreecommitdiff
path: root/utils/pdfdetach.cc
diff options
context:
space:
mode:
authorAdam Reichold <adam.reichold@t-online.de>2018-08-26 21:42:47 +0200
committerAlbert Astals Cid <tsdgeos@yahoo.es>2018-10-05 09:46:33 +0000
commit571a321721c5b166c402995b0a8e015f10948c31 (patch)
tree24f8257cc172456e84bf82d70701a2ffca886e09 /utils/pdfdetach.cc
parent46a8486d71b686facdea716bd04911bd029ac67e (diff)
Turn deleteGooList macro into a template to improve type checking and diagnostics.
Diffstat (limited to 'utils/pdfdetach.cc')
-rw-r--r--utils/pdfdetach.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pdfdetach.cc b/utils/pdfdetach.cc
index c8936997..860b55c2 100644
--- a/utils/pdfdetach.cc
+++ b/utils/pdfdetach.cc
@@ -308,7 +308,7 @@ int main(int argc, char *argv[]) {
// clean up
err2:
if (embeddedFiles)
- deleteGooList(embeddedFiles, FileSpec);
+ deleteGooList<FileSpec>(embeddedFiles);
uMap->decRefCnt();
delete doc;
err1: