summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-16 17:25:51 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-16 17:25:51 +0200
commitebc5b43cca0a16e3f552130db9233fa14b313739 (patch)
treee0b49f0a38fccecf1e9cea1aa8833d73625b01bc /apt-pkg
parent3b9eaca8c6adba831078749c4a3819f76e373df7 (diff)
Make pkgCache::Priority() static, it does not need the instance
It still compiles after the change, so just merge it. Closes: #448627
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/pkgcache.h2
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);