diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:54 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:54 +0000 |
commit | 5819a76177d1ea1ed7e5b10f93804cc9730a560c (patch) | |
tree | 75cef39328d6ca0c2c5c66f642cd1f17627a715d /apt-pkg | |
parent | b0ebdef53d32dca524c352805eeeabbbb09b7ec0 (diff) |
G++3 fixes from Randolph
Author: jgg
Date: 2001-05-07 05:49:43 GMT
G++3 fixes from Randolph
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/acquire-item.cc | 6 | ||||
-rw-r--r-- | apt-pkg/orderlist.cc | 6 | ||||
-rw-r--r-- | apt-pkg/packagemanager.cc | 5 |
3 files changed, 13 insertions, 4 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index c9ec724d9..7ff3a58e9 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-item.cc,v 1.43 2001/02/27 04:24:41 jgg Exp $ +// $Id: acquire-item.cc,v 1.44 2001/05/07 05:49:43 jgg Exp $ /* ###################################################################### Acquire Item - Item to acquire @@ -28,10 +28,12 @@ #include <sys/stat.h> #include <unistd.h> #include <errno.h> -#include <string.h> +#include <string> #include <stdio.h> /*}}}*/ +using std::string; + // Acquire::Item::Item - Constructor /*{{{*/ // --------------------------------------------------------------------- /* */ diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc index 1f64db908..8d3a97983 100644 --- a/apt-pkg/orderlist.cc +++ b/apt-pkg/orderlist.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: orderlist.cc,v 1.13 2001/04/27 04:47:58 jgg Exp $ +// $Id: orderlist.cc,v 1.14 2001/05/07 05:49:43 jgg Exp $ /* ###################################################################### Order List - Represents and Manipulates an ordered list of packages. @@ -72,8 +72,12 @@ #include <apt-pkg/version.h> #include <apt-pkg/sptr.h> #include <apt-pkg/configuration.h> + +#include <iostream> /*}}}*/ +using namespace std; + pkgOrderList *pkgOrderList::Me = 0; // OrderList::pkgOrderList - Constructor /*{{{*/ diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index 6101b618f..d5b8eafb4 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: packagemanager.cc,v 1.26 2001/02/20 07:03:17 jgg Exp $ +// $Id: packagemanager.cc,v 1.27 2001/05/07 05:49:43 jgg Exp $ /* ###################################################################### Package Manager - Abstacts the package manager @@ -28,8 +28,11 @@ #include <apt-pkg/sptr.h> #include <apti18n.h> +#include <iostream> /*}}}*/ +using namespace std; + // PM::PackageManager - Constructor /*{{{*/ // --------------------------------------------------------------------- /* */ |