• Albert Astals Cid's avatar
    Delete lots of copy constructors and copy assignment operators · 8794789a
    Albert Astals Cid authored
    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 :)
    8794789a
Name
Last commit
Last update
cmake/modules Loading commit data...
cpp Loading commit data...
fofi Loading commit data...
glib Loading commit data...
goo Loading commit data...
poppler Loading commit data...
qt5 Loading commit data...
regtest Loading commit data...
splash Loading commit data...
test Loading commit data...
utils Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING3 Loading commit data...
ConfigureChecks.cmake Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README-XPDF Loading commit data...
README.contributors Loading commit data...
config.h.cmake Loading commit data...
gtkdoc.py Loading commit data...
make-glib-api-docs Loading commit data...
poppler-cairo.pc.cmake Loading commit data...
poppler-cpp.pc.cmake Loading commit data...
poppler-glib.pc.cmake Loading commit data...
poppler-qt5.pc.cmake Loading commit data...
poppler-splash.pc.cmake Loading commit data...
poppler.pc.cmake Loading commit data...