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 beae1e7..be91eb4 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 cc301cd..ba84c5e 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 f2b1c39..0d62c64 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 149782b..15f2047 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 1dc5054..8e0cb7a 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 a73499a..f63d093 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 f8f236a..878b3eb 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;