From 5819a76177d1ea1ed7e5b10f93804cc9730a560c Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:57:54 +0000 Subject: G++3 fixes from Randolph Author: jgg Date: 2001-05-07 05:49:43 GMT G++3 fixes from Randolph --- apt-pkg/acquire-item.cc | 6 ++++-- apt-pkg/orderlist.cc | 6 +++++- 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 #include #include -#include +#include #include /*}}}*/ +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 #include #include + +#include /*}}}*/ +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 #include +#include /*}}}*/ +using namespace std; + // PM::PackageManager - Constructor /*{{{*/ // --------------------------------------------------------------------- /* */ -- cgit v1.2.3