Use proper namespace for iostream classes
[gnucomo.git] / src / lib / database.cpp
index 134a536..f35727a 100644 (file)
@@ -6,7 +6,7 @@
 ***********************
 **      FILE NAME      : database.cpp
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.1 $
+**      VERSION NUMBER : $Revision: 1.2 $
 **
 **  DESCRIPTION      :  Implementation of the gnucomo database classes
 **
 ********************************
 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
 **      CREATION DATE   : Sep 10, 2002
-**      LAST UPDATE     : Sep 26, 2002
+**      LAST UPDATE     : Nov 04, 2002
 **      MODIFICATIONS   : 
 **************************************************************************/
 
 /*****************************
    $Log: database.cpp,v $
-   Revision 1.1  2002-10-05 10:25:49  arjen
+   Revision 1.2  2002-11-04 10:13:36  arjen
+   Use proper namespace for iostream classes
+
+   Revision 1.1  2002/10/05 10:25:49  arjen
    Creation of gcm_input and a first approach to a web interface
 
 *****************************/
 
-static const char *RCSID = "$Id: database.cpp,v 1.1 2002-10-05 10:25:49 arjen Exp $";
+static const char *RCSID = "$Id: database.cpp,v 1.2 2002-11-04 10:13:36 arjen Exp $";
 
 #include "database.h"
 
@@ -58,14 +61,14 @@ gnucomo_database::gnucomo_database(gnucomo_config *c)
 
    if (verbose)
    {
-      cout <<  "Database connection string = " << cfg->Database() << "\n";
+      std::cout <<  "Database connection string = " << cfg->Database() << "\n";
    }
 
    db = new PgDatabase(cfg->Database());
 
    if (db->ConnectionBad())
    {
-      cerr << "Can not connect to database: " << db->ErrorMessage();
+      std::cerr << "Can not connect to database: " << db->ErrorMessage();
    }
 }