Просмотр исходного кода

Re-introduce None as a deprecated alias for No

Gbp-Dch: ignore
Julian Andres Klode лет назад: 11
Родитель
Сommit
f01090067b
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      apt-pkg/pkgcache.h

+ 4 - 0
apt-pkg/pkgcache.h

@@ -606,6 +606,10 @@ struct pkgCache::Version
 		       Allowed = (1<<3), /*!< other packages are allowed to depend on thispkg:any */
 		       AllForeign = All | Foreign,
 		       AllAllowed = All | Allowed };
+
+   /** \brief deprecated variant of No */
+   static const APT_DEPRECATED VerMultiArch None = No;
+
    /** \brief stores the MultiArch capabilities of this version
 
        Flags used are defined in pkgCache::Version::VerMultiArch