summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-03-01 13:55:20 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:45 +0100
commitd64e130aa333837a8fda0f1bba51f2867ca520f7 (patch)
treea9f9f20bfdf69b8076d06c64f54e00555239daa5 /apt-pkg/pkgcache.h
parentef74268b47fae1afd302a4a524b53143cbfd6ce1 (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.h4
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>