diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-16 17:25:51 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-16 17:25:51 +0200 |
commit | ebc5b43cca0a16e3f552130db9233fa14b313739 (patch) | |
tree | e0b49f0a38fccecf1e9cea1aa8833d73625b01bc | |
parent | 3b9eaca8c6adba831078749c4a3819f76e373df7 (diff) |
Make pkgCache::Priority() static, it does not need the instance
It still compiles after the change, so just merge it.
Closes: #448627
-rw-r--r-- | apt-pkg/pkgcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |