]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
do not pollute namespace in the headers with using (Closes: #500198)
[apt.git] / apt-pkg / algorithms.h
index 86d5fbd5309d28439680524258fb0167b52aaf56..f299f8189e7d6cc040409cdfc6764fa3f9d689e9 100644 (file)
@@ -37,8 +37,6 @@
 
 #include <iostream>
 
-using std::ostream;
-
 class pkgSimulate : public pkgPackageManager                           /*{{{*/
 {
    protected:
@@ -63,13 +61,13 @@ class pkgSimulate : public pkgPackageManager                                /*{{{*/
    pkgDepCache::ActionGroup group;
    
    // The Actuall installation implementation
-   virtual bool Install(PkgIterator Pkg,string File);
+   virtual bool Install(PkgIterator Pkg,std::string File);
    virtual bool Configure(PkgIterator Pkg);
    virtual bool Remove(PkgIterator Pkg,bool Purge);
 
 private:
    void ShortBreaks();
-   void Describe(PkgIterator iPkg,ostream &out,bool Current,bool Candidate);
+   void Describe(PkgIterator iPkg,std::ostream &out,bool Current,bool Candidate);
    
    public: