diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-03-18 21:59:37 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-03-18 21:59:37 +0000 |
commit | 7df30ed249a4493833346d2e40ac3fca765602b8 (patch) | |
tree | 9103eb2d3686871f71787236bdfd71f508675688 /Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc | |
parent | fafe0fc6c275d12a264639c9e98dcde0b7c99a8a (diff) |
poppler-0.63.0
git-svn-id: svn://tug.org/texlive/trunk@47014 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc')
-rw-r--r-- | Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc b/Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc index 00b240fdf07..3d41145b15d 100644 --- a/Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc +++ b/Build/source/libs/poppler/poppler-src/fofi/FoFiIdentifier.cc @@ -14,6 +14,7 @@ // under GPL version 2 or later // // Copyright (C) 2013 Christoph Duelli <duelli@melosgmbh.de> +// Copyright (C) 2018 Albert Astals Cid <aacid@kde.org> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -36,6 +37,9 @@ namespace { // do not pollute global namespace class Reader { public: + Reader() = default; + Reader(const Reader &) = delete; + Reader& operator=(const Reader &other) = delete; virtual ~Reader() {} @@ -186,7 +190,7 @@ FileReader *FileReader::make(char *fileName) { FILE *fA; if (!(fA = fopen(fileName, "rb"))) { - return NULL; + return nullptr; } return new FileReader(fA); } |