X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/29636cc759c6fbb92c6c462c90611eefb67cbbd4..422a2eba84361a8dfd84b549c13037512779c572:/apt-pkg/cacheiterators.h?ds=inline diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index a9ebd732d..62d0ab59c 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -179,7 +179,7 @@ class pkgCache::PkgIterator: public Iterator { const char *CurVersion() const APT_PURE; //Nice printable representation - friend std::ostream& operator <<(std::ostream& out, PkgIterator i); + APT_DEPRECATED_MSG("Use APT::PrettyPkg instead") friend std::ostream& operator <<(std::ostream& out, PkgIterator i); std::string FullName(bool const &Pretty = false) const; // Constructors @@ -343,7 +343,7 @@ class pkgCache::DepIterator : public Iterator { } //Nice printable representation - friend std::ostream& operator <<(std::ostream& out, DepIterator D); + APT_DEPRECATED_MSG("Use APT::PrettyDep instead") friend std::ostream& operator <<(std::ostream& out, DepIterator D); inline DepIterator(pkgCache &Owner, Dependency *Trg, Version* = 0) : Iterator(Owner, Trg), Type(DepVer), S2(Trg == 0 ? Owner.DepDataP : (Owner.DepDataP + Trg->DependencyData)) {