Fixed name conflict with 'double log(double)'
authorarjen <arjen>
Thu, 4 Dec 2003 10:40:28 +0000 (10:40 +0000)
committerarjen <arjen>
Thu, 4 Dec 2003 10:40:28 +0000 (10:40 +0000)
src/lib/database.cpp

index 36d461c..82c4332 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : database.cpp
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.10 $
+**      VERSION NUMBER : $Revision: 1.11 $
 **
 **  DESCRIPTION      :  Implementation of the gnucomo database classes
 **
 
 /*****************************
    $Log: database.cpp,v $
-   Revision 1.10  2003-12-03 08:23:17  arjen
+   Revision 1.11  2003-12-04 10:40:28  arjen
+   Fixed name conflict with 'double log(double)'
+
+   Revision 1.10  2003/12/03 08:23:17  arjen
    Write messages to the log stream instead of cout.
 
    Revision 1.9  2003/08/17 11:39:56  arjen
 
 *****************************/
 
-static const char *RCSID = "$Id: database.cpp,v 1.10 2003-12-03 08:23:17 arjen Exp $";
+static const char *RCSID = "$Id: database.cpp,v 1.11 2003-12-04 10:40:28 arjen Exp $";
 
 #include <AXE/date.h>
 
 #include "database.h"
 
-extern std::ostream *log;
+extern std::ostream *Log;
 
 /*=========================================================================
 **  NAME           : gnucomo_database
@@ -189,7 +192,7 @@ String gnucomo_database::new_notification(String objectid, String issue, String
 
    String issueid("");
 
-   *log << "Creating notification for " << issue << ": " << remark << "\n";
+   *Log << "Creating notification for " << issue << ": " << remark << "\n";
 
    qry = "select type_of_issueid, suggested_priority from type_of_issue where name='";
    qry += issue + "'";