summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-12-14 21:44:40 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-12-14 21:55:34 +0100
commita6c7b262212d56a4ad37e6475f96152296ab1d0c (patch)
tree25c41fe8fe330239a528142644f6fdf8818b6473 /apt-pkg/cachefilter.cc
parent8876bf372f8bf5bc12767a2531587f004e38dc74 (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/cachefilter.cc')
-rw-r--r--apt-pkg/cachefilter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/cachefilter.cc b/apt-pkg/cachefilter.cc
index c49f5dfd0..eadbb98c7 100644
--- a/apt-pkg/cachefilter.cc
+++ b/apt-pkg/cachefilter.cc
@@ -27,8 +27,8 @@ namespace APT {
APT_HIDDEN std::unordered_map<std::string, std::vector<std::string>> ArchToTupleMap;
namespace CacheFilter {
-APT_PURE Matcher::~Matcher() {}
-APT_PURE PackageMatcher::~PackageMatcher() {}
+Matcher::~Matcher() {}
+PackageMatcher::~PackageMatcher() {}
// Name matches RegEx /*{{{*/
PackageNameMatchesRegEx::PackageNameMatchesRegEx(std::string const &Pattern) {