[sword-svn] r1824 - trunk/include

jansorg at crosswire.org jansorg at crosswire.org
Fri Jun 10 02:02:49 MST 2005


Author: jansorg
Date: 2005-06-10 02:02:48 -0700 (Fri, 10 Jun 2005)
New Revision: 1824

Modified:
   trunk/include/swlog.h
Log:
Added empty virtual destructor to SWLog to avoid warnings with gcc 4.0.

Modified: trunk/include/swlog.h
===================================================================
--- trunk/include/swlog.h	2005-06-09 03:52:06 UTC (rev 1823)
+++ trunk/include/swlog.h	2005-06-10 09:02:48 UTC (rev 1824)
@@ -40,6 +40,8 @@
 	static void setSystemLog(SWLog *newLogger);
 
 	SWLog () { logLevel = 1;	/*default to show only errors*/}
+	virtual ~SWLog() {};
+
 	virtual void setLogLevel(char level) { logLevel = level; }
 	virtual char getLogLevel() { return logLevel; }
 	virtual void logWarning (char *fmt, ...);



More information about the sword-cvs mailing list