From: arjen Date: Thu, 4 Dec 2003 10:40:28 +0000 (+0000) Subject: Fixed name conflict with 'double log(double)' X-Git-Tag: V0_0_9~13 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=7d96e1f4583fceff8b613a70e073b8cec48d7a55 Fixed name conflict with 'double log(double)' --- diff --git a/src/lib/database.cpp b/src/lib/database.cpp index 36d461c..82c4332 100644 --- a/src/lib/database.cpp +++ b/src/lib/database.cpp @@ -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 ** @@ -26,7 +26,10 @@ /***************************** $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 @@ -61,13 +64,13 @@ *****************************/ -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 #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 + "'";