summaryrefslogtreecommitdiff
path: root/apt-pkg/cacheset.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-03-09 15:54:39 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-03-16 18:01:21 +0100
commit2b4cead3c8eb3afb5aa5390b88c511477a7628d8 (patch)
tree2a0872e4022bb5d67bef3509d5285d846cb86a66 /apt-pkg/cacheset.h
parent2f6a2fbbdc9f76dc4eace83a427013f4e1c03afc (diff)
fix some new compiler warnings reported by gcc-5
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/cacheset.h')
-rw-r--r--apt-pkg/cacheset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/cacheset.h b/apt-pkg/cacheset.h
index 884e8b859..97aee8c2d 100644
--- a/apt-pkg/cacheset.h
+++ b/apt-pkg/cacheset.h
@@ -225,7 +225,9 @@ public:
inline std::string FullName(bool const Pretty) const { return getPkg().FullName(Pretty); }
inline std::string FullName() const { return getPkg().FullName(); }
APT_DEPRECATED inline const char *Section() const {
- APT_IGNORE_DEPRECATED(return getPkg().Section();)
+ APT_IGNORE_DEPRECATED_PUSH
+ return getPkg().Section();
+ APT_IGNORE_DEPRECATED_POP
}
inline bool Purge() const {return getPkg().Purge(); }
inline const char *Arch() const {return getPkg().Arch(); }