Преглед изворни кода

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
David Kalnischkies пре 10 година
родитељ
комит
fcffe89d83
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      apt-pkg/pkgcache.h

+ 2 - 0
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 */