diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-12-14 21:44:40 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-12-14 21:55:34 +0100 |
commit | a6c7b262212d56a4ad37e6475f96152296ab1d0c (patch) | |
tree | 25c41fe8fe330239a528142644f6fdf8818b6473 /apt-pkg/indexcopy.cc | |
parent | 8876bf372f8bf5bc12767a2531587f004e38dc74 (diff) |
remove pointless APT_PURE from void functions
Earlier gcc versions used to complain that you should add them althrough
there isn't a lot of point to it if you think about it, but now gcc (>= 8)
complains about the attribute being present.
warning: ‘pure’ attribute on function returning ‘void’ [-Wattributes]
Reported-By: gcc -Wattributes
Gbp-Dch: Ignore
Diffstat (limited to 'apt-pkg/indexcopy.cc')
-rw-r--r-- | apt-pkg/indexcopy.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc index cb23a860f..872adcaa8 100644 --- a/apt-pkg/indexcopy.cc +++ b/apt-pkg/indexcopy.cc @@ -785,13 +785,13 @@ bool TranslationsCopy::CopyTranslations(string CDROM,string Name, /*{{{*/ /*}}}*/ IndexCopy::IndexCopy() : d(nullptr), Section(nullptr) {} -APT_PURE IndexCopy::~IndexCopy() {} +IndexCopy::~IndexCopy() {} PackageCopy::PackageCopy() : IndexCopy(), d(NULL) {} -APT_PURE PackageCopy::~PackageCopy() {} +PackageCopy::~PackageCopy() {} SourceCopy::SourceCopy() : IndexCopy(), d(NULL) {} -APT_PURE SourceCopy::~SourceCopy() {} +SourceCopy::~SourceCopy() {} TranslationsCopy::TranslationsCopy() : d(nullptr), Section(nullptr) {} -APT_PURE TranslationsCopy::~TranslationsCopy() {} +TranslationsCopy::~TranslationsCopy() {} SigVerify::SigVerify() : d(NULL) {} -APT_PURE SigVerify::~SigVerify() {} +SigVerify::~SigVerify() {} |