diff options
author | Adam Reichold <adam.reichold@t-online.de> | 2018-08-26 21:42:47 +0200 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2018-10-05 09:46:33 +0000 |
commit | 571a321721c5b166c402995b0a8e015f10948c31 (patch) | |
tree | 24f8257cc172456e84bf82d70701a2ffca886e09 /utils/pdfdetach.cc | |
parent | 46a8486d71b686facdea716bd04911bd029ac67e (diff) |
Turn deleteGooList macro into a template to improve type checking and diagnostics.
Diffstat (limited to 'utils/pdfdetach.cc')
-rw-r--r-- | utils/pdfdetach.cc | 2 |
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: |