]> git.saurik.com Git - apt.git/commit - cmdline/apt-get.cc
add c++11 override marker to overridden methods
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 8 Jul 2015 22:35:40 +0000 (00:35 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Aug 2015 15:27:17 +0000 (17:27 +0200)
commit3b3028467ceccca0b73a8f53051c0fa4de313111
treeff51789a82630e3fb61a25f8b7c970854b753dc9
parent2893325927f6e4d55dc4bd148093351d4f8300f9
add c++11 override marker to overridden methods

C++11 adds the 'override' specifier to mark that a method is overriding
a base class method and error out if not. We hide it in the APT_OVERRIDE
macro to ensure that we keep compiling in pre-c++11 standards.

Reported-By: clang-modernize -add-override -override-macros
Git-Dch: Ignore
54 files changed:
apt-inst/deb/debfile.h
apt-inst/extract.h
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/algorithms.h
apt-pkg/cachefilter.h
apt-pkg/contrib/md5.h
apt-pkg/contrib/progress.h
apt-pkg/contrib/sha1.h
apt-pkg/contrib/sha2.h
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debindexfile.h
apt-pkg/deb/deblistparser.h
apt-pkg/deb/debmetaindex.cc
apt-pkg/deb/debmetaindex.h
apt-pkg/deb/debrecords.h
apt-pkg/deb/debsrcrecords.h
apt-pkg/deb/debsystem.h
apt-pkg/deb/debversion.h
apt-pkg/deb/dpkgpm.h
apt-pkg/depcache.h
apt-pkg/edsp/edspindexfile.cc
apt-pkg/edsp/edspindexfile.h
apt-pkg/edsp/edsplistparser.h
apt-pkg/edsp/edspsystem.h
apt-pkg/indexcopy.h
apt-pkg/indexfile.h
apt-pkg/install-progress.h
apt-pkg/policy.h
apt-pkg/tagfile.h
apt-private/acqprogress.h
apt-private/private-cacheset.h
apt-private/private-moo.h
cmdline/apt-cdrom.cc
cmdline/apt-extracttemplates.h
cmdline/apt-get.cc
ftparchive/contents.h
ftparchive/writer.h
methods/cdrom.cc
methods/copy.cc
methods/file.cc
methods/ftp.cc
methods/ftp.h
methods/gpgv.cc
methods/gzip.cc
methods/http.h
methods/https.h
methods/mirror.h
methods/rred.cc
methods/rsh.h
methods/server.h
test/interactive-helper/testdeb.cc
test/libapt/acqprogress_test.cc
test/libapt/indexcopytosourcelist_test.cc