diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-09-29 15:41:12 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-09-30 00:15:15 +0200 |
commit | 3809194b662f48733916e6248cd0c141f281313d (patch) | |
tree | 6268896db5c3d8309a572f5d21ae3b5231c77113 /apt-pkg/pkgcache.h | |
parent | 1b5c4c4c1b31436c6840fbeac2383f1e6a8168d3 (diff) |
mark private methods as hidden
We are the only possible users of private methods, so we are also the
only users who can potentially export them via using them in inline
methods. The point is: We don't need these symbols exported if we don't
do this, so marking them as hidden removes some methods from the API
without breaking anything as nobody could have used them.
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/pkgcache.h')
-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 6a89eabd7..4f8568205 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -228,7 +228,7 @@ class pkgCache /*{{{*/ private: bool MultiArchEnabled; - PkgIterator SingleArchFindPkg(const std::string &Name); + APT_HIDDEN PkgIterator SingleArchFindPkg(const std::string &Name); }; /*}}}*/ // Header structure /*{{{*/ |