]> git.saurik.com Git - apt.git/commitdiff
G++3 fixes from Randolph
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:51 +0000 (16:57 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:51 +0000 (16:57 +0000)
Author: jgg
Date: 2001-05-07 04:24:08 GMT
G++3 fixes from Randolph

apt-pkg/indexfile.h
apt-pkg/packagemanager.h
apt-pkg/pkgcache.h
apt-pkg/policy.h
apt-pkg/sourcelist.h
apt-pkg/srcrecords.h
apt-pkg/versionmatch.h

index beae1e7d8f794095cf1c4afa6ee0051b7b12d323..be91eb453496beb8398edec42d0542752829770b 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: indexfile.h,v 1.4 2001/04/29 05:13:51 jgg Exp $
+// $Id: indexfile.h,v 1.5 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
 
    Index File - Abstraction for an index of archive/source file.
@@ -30,6 +30,8 @@
 #include <apt-pkg/srcrecords.h>
 #include <apt-pkg/pkgrecords.h>
     
+using std::string;
+
 class pkgAcquire;
 class pkgCacheGenerator;
 class OpProgress;
index cc301cd38dd28be962b6936858379a88c41609b7..ba84c5ed78d47ca14c96bb05fab584edae0b3fb1 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: packagemanager.h,v 1.13 2001/04/06 05:31:01 jgg Exp $
+// $Id: packagemanager.h,v 1.14 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
 
    Package Manager - Abstacts the package manager
@@ -30,6 +30,8 @@
 #include <string>
 #include <apt-pkg/pkgcache.h>
 
+using std::string;
+
 class pkgAcquire;
 class pkgDepCache;
 class pkgSourceList;
index f2b1c39faa24fbc3e80d8c33d1bf97585f040031..0d62c647aa044965d6a336fcc1e84a765fd43a31 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgcache.h,v 1.23 2001/02/20 07:03:17 jgg Exp $
+// $Id: pkgcache.h,v 1.24 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
    
    Cache - Structure definitions for the cache file
@@ -26,6 +26,8 @@
 #include <string>
 #include <time.h>
 #include <apt-pkg/mmap.h>
+
+using std::string;
     
 class pkgVersioningSystem;
 class pkgCache
index 149782b25d2337220809269736666bc49a22dd7f..15f2047985dcb4caa6d3e5ce04661db7e39de4cc 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: policy.h,v 1.3 2001/04/29 05:13:51 jgg Exp $
+// $Id: policy.h,v 1.4 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
 
    Package Version Policy implementation
@@ -41,6 +41,8 @@
 #include <apt-pkg/versionmatch.h>
 #include <vector>
 
+using std::vector;
+
 class pkgPolicy : public pkgDepCache::Policy
 {
    struct Pin
index 1dc50542584cefbad17d1edfc8112857c441bb00..8e0cb7aa30b1ecb87e1cfa01c07757916b5af2e4 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: sourcelist.h,v 1.10 2001/03/13 06:51:46 jgg Exp $
+// $Id: sourcelist.h,v 1.11 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
 
    SourceList - Manage a list of sources
@@ -31,6 +31,9 @@
 #include <vector>
 #include <apt-pkg/pkgcache.h>
 #include <apt-pkg/indexfile.h>
+
+using std::string;
+using std::vector;
     
 #ifdef __GNUG__
 #pragma interface "apt-pkg/sourcelist.h"
index a73499aefd2731831f01642b984c44393a3effc1..f63d0934d4485dae9b3e147151688f28a2511f50 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: srcrecords.h,v 1.6 2001/02/20 07:03:17 jgg Exp $
+// $Id: srcrecords.h,v 1.7 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
    
    Source Package Records - Allows access to source package records
@@ -20,6 +20,9 @@
 #include <string>
 #include <vector>    
 
+using std::string;
+using std::vector;
+
 class pkgSourceList;
 class pkgIndexFile;
 class pkgSrcRecords
index f8f236a2f7d945c5318182311dddfcdc0490f5f3..878b3eb6ae97efe0557140f42ddfc404c55aefae 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: versionmatch.h,v 1.2 2001/02/20 07:03:17 jgg Exp $
+// $Id: versionmatch.h,v 1.3 2001/05/07 04:24:08 jgg Exp $
 /* ######################################################################
 
    Version Matching 
 #include <string>
 #include <apt-pkg/pkgcache.h>
 
+using std::string;
+
 class pkgVersionMatch
-{
+{   
    // Version Matching
    string VerStr;
    bool VerPrefixMatch;