diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-09-11 14:19:16 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-09-14 15:22:18 +0200 |
commit | fcffe89d8344e699267210badac53ff24dd41148 (patch) | |
tree | 8cbd08f453c82fdaa50d7b475e2e86c9403c688c | |
parent | aa91826fa7c0cfd1f5ec8f062b9e1b134d65c850 (diff) |
do not report deprecate warnings for the None declaration
This is defined for compatibility, warning about it is intended, but
only in places where it is actually used, rather than at the place we
declare it for compatability…
Git-Dch: Ignore
-rw-r--r-- | apt-pkg/pkgcache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 6f3efd744..f72dd30b0 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -578,6 +578,7 @@ struct pkgCache::DescFile The version list is always sorted from highest version to lowest version by the generator. Equal version numbers are either merged or handled as separate versions based on the Hash value. */ +APT_IGNORE_DEPRECATED_PUSH struct pkgCache::Version { /** \brief complete version string */ @@ -645,6 +646,7 @@ struct pkgCache::Version /** \brief parsed priority value */ map_number_t Priority; }; +APT_IGNORE_DEPRECATED_POP /*}}}*/ // Description structure /*{{{*/ /** \brief datamember of a linked list of available description for a version */ |