diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-03-01 13:55:20 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:58:45 +0100 |
commit | d64e130aa333837a8fda0f1bba51f2867ca520f7 (patch) | |
tree | a9f9f20bfdf69b8076d06c64f54e00555239daa5 /apt-pkg/pkgcache.h | |
parent | ef74268b47fae1afd302a4a524b53143cbfd6ce1 (diff) |
warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Reported-By: gcc -Wignored-qualifiers
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r-- | apt-pkg/pkgcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 9a88246a1..b3a714511 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -201,7 +201,7 @@ class pkgCache /*{{{*/ inline PkgFileIterator FileEnd(); inline bool MultiArchCache() const { return MultiArchEnabled; } - inline char const * const NativeArch() const; + inline char const * NativeArch(); // Make me a function pkgVersioningSystem *VS; @@ -661,7 +661,7 @@ struct pkgCache::StringItem /*}}}*/ -inline char const * const pkgCache::NativeArch() const +inline char const * pkgCache::NativeArch() { return StrP + HeaderP->Architecture; } #include <apt-pkg/cacheiterators.h> |