From: <vac...@us...> - 2009-01-21 23:19:50
|
Revision: 125 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=125&view=rev Author: vaclavslavik Date: 2009-01-21 23:19:45 +0000 (Wed, 21 Jan 2009) Log Message: ----------- moved xml::node::end() implementation inline so that its calls can be optimized by the compiler Modified Paths: -------------- trunk/include/xmlwrapp/node.h trunk/src/libxml/node.cxx Modified: trunk/include/xmlwrapp/node.h =================================================================== --- trunk/include/xmlwrapp/node.h 2009-01-05 23:33:51 UTC (rev 124) +++ trunk/include/xmlwrapp/node.h 2009-01-21 23:19:45 UTC (rev 125) @@ -547,7 +547,7 @@ * @author Peter Jones **/ //#################################################################### - iterator end (void); + iterator end (void) { return iterator(); } //#################################################################### /** @@ -558,7 +558,7 @@ * @author Peter Jones **/ //#################################################################### - const_iterator end (void) const; + const_iterator end (void) const { return const_iterator(); } //#################################################################### /** Modified: trunk/src/libxml/node.cxx =================================================================== --- trunk/src/libxml/node.cxx 2009-01-05 23:33:51 UTC (rev 124) +++ trunk/src/libxml/node.cxx 2009-01-21 23:19:45 UTC (rev 125) @@ -392,14 +392,6 @@ return const_iterator(pimpl_->xmlnode_->children); } //#################################################################### -xml::node::iterator xml::node::end (void) { - return iterator(); -} -//#################################################################### -xml::node::const_iterator xml::node::end (void) const { - return const_iterator(); -} -//#################################################################### xml::node::iterator xml::node::self (void) { return iterator(pimpl_->xmlnode_); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |