|
From: <vac...@us...> - 2008-12-12 23:58:47
|
Revision: 106
http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=106&view=rev
Author: vaclavslavik
Date: 2008-12-12 23:58:44 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
make init classes' dtors non-virtual, there's no reason for them to be virtual
Modified Paths:
--------------
trunk/include/xmlwrapp/init.h
trunk/include/xsltwrapp/init.h
Modified: trunk/include/xmlwrapp/init.h
===================================================================
--- trunk/include/xmlwrapp/init.h 2008-12-01 19:40:58 UTC (rev 105)
+++ trunk/include/xmlwrapp/init.h 2008-12-12 23:58:44 UTC (rev 106)
@@ -68,10 +68,13 @@
* Clean up the XML parser. Don't let the xml::init object go out of
* scope before you are done using the xmlwrapp library!
*
+ * @note The destructor is intentionally not virtual, this class and
+ * derived classes are meant to be used in RAII manner.
+ *
* @author Peter Jones
**/
//####################################################################
- virtual ~init (void);
+ ~init (void);
//####################################################################
/**
Modified: trunk/include/xsltwrapp/init.h
===================================================================
--- trunk/include/xsltwrapp/init.h 2008-12-01 19:40:58 UTC (rev 105)
+++ trunk/include/xsltwrapp/init.h 2008-12-12 23:58:44 UTC (rev 106)
@@ -76,10 +76,13 @@
* Clean up the XSLT engine. Don't let the xslt::init object go out of
* scope before you are done using the xsltwrapp or xmlwrapp libraries!
*
+ * @note The destructor is intentionally not virtual, this class and
+ * derived classes are meant to be used in RAII manner.
+ *
* @author Peter Jones
**/
//####################################################################
- virtual ~init (void);
+ ~init (void);
//####################################################################
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|