From: Julian Andres Klode Date: Sun, 16 Aug 2015 15:25:51 +0000 (+0200) Subject: Make pkgCache::Priority() static, it does not need the instance X-Git-Tag: 1.1.exp9~11 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/ebc5b43cca0a16e3f552130db9233fa14b313739 Make pkgCache::Priority() static, it does not need the instance It still compiles after the change, so just merge it. Closes: #448627 --- diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index ff250b532..801f8556d 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -225,7 +225,7 @@ class pkgCache /*{{{*/ inline map_id_t Hash(const char *S) const {return sHash(S);} // Useful transformation things - const char *Priority(unsigned char Priority); + static const char *Priority(unsigned char Priority); // Accessors GrpIterator FindGrp(const std::string &Name);