summaryrefslogtreecommitdiff
path: root/poppler/NameToCharCode.h
AgeCommit message (Collapse)AuthorFilesLines
2019-11-27some more constAlbert Astals Cid1-3/+3
2018-10-10Remove usage of pragmas interface and implementationAdam Reichold1-4/+0
GCC recommends not using them for a long time and its documentation says: > These #pragmas have been superceded as of GCC 2.7.2 by COMDAT support > and the “key method” heuristic mentioned in Vague Linkage. > Using them can actually cause your program to grow due to > unnecessary out-of-line copies of inline functions. Also nobody seems to set USE_GCC_PRAGMAS and sometimes they were guarded by just __GNUC__ which upsets Clang.
2018-01-08Delete lots of copy constructors and copy assignment operatorsAlbert Astals Cid1-0/+17
Fixes rule-of-three and copyable-polymorphic warnings reported by clazy. The default copy constructor and copy assignment operator are only valid for simple classes so we delete them (i.e. make then not exist) when we have either a virtual class or a destructor, the code still compiles so this doesn't fix any bug, it is more a protection for when you think you can copy a class and don't realize the default copy constrcutor is not doing what you want and you get crashes. Hopefully this helps us in the future :)
2011-08-30xpdf303: char * -> const char *Albert Astals Cid1-3/+3
2005-03-03Initial revisionKristian Høgsberg1-0/+40