Browse Source

Make pkgCache::Priority() static, it does not need the instance

It still compiles after the change, so just merge it.

Closes: #448627
debian/1.8.y
Julian Andres Klode 7 years ago
parent
commit
ebc5b43cca
  1. 2
      apt-pkg/pkgcache.h

2
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);

Loading…
Cancel
Save