[sword-svn] r1825 - trunk/include
jansorg at crosswire.org
jansorg at crosswire.org
Fri Jun 10 02:03:37 MST 2005
Author: jansorg
Date: 2005-06-10 02:03:37 -0700 (Fri, 10 Jun 2005)
New Revision: 1825
Modified:
trunk/include/swdisp.h
Log:
Added empty virtual destructor to SWDisplay to avoid warnings with gcc 4.0.
Modified: trunk/include/swdisp.h
===================================================================
--- trunk/include/swdisp.h 2005-06-10 09:02:48 UTC (rev 1824)
+++ trunk/include/swdisp.h 2005-06-10 09:03:37 UTC (rev 1825)
@@ -37,6 +37,8 @@
static SWClass classdef;
public:
SWDisplay () { myclass = &classdef; };
+ virtual ~SWDisplay() {};
+
/** casts a module to a character pointer and displays it to
* raw output (overriden for different display types and
* module types if necessary)
More information about the sword-cvs
mailing list