Update of /cvsroot/objecthandler/ObjectHandler/oh
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv709/oh
Modified Files:
object.cpp object.hpp
Log Message:
use pre-increment where appropriate
Index: object.hpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.hpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** object.hpp 2 Jan 2007 02:19:16 -0000 1.18
--- object.hpp 3 Jan 2007 14:24:30 -0000 1.19
***************
*** 129,133 ****
std::ostream& operator<<(std::ostream& out, std::vector < T > &v) {
out << std::endl;
! for (typename std::vector< T >::const_iterator i = v.begin(); i != v.end(); i++)
out << *i << std::endl;
return out;
--- 129,133 ----
std::ostream& operator<<(std::ostream& out, std::vector < T > &v) {
out << std::endl;
! for (typename std::vector< T >::const_iterator i = v.begin(); i != v.end(); ++i)
out << *i << std::endl;
return out;
Index: object.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/oh/object.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** object.cpp 18 Jun 2006 13:41:51 -0000 1.2
--- object.cpp 3 Jan 2007 14:24:30 -0000 1.3
***************
*** 109,113 ****
const std::vector < std::string > propertyNames = object.propertyNames();
std::vector < std::string >::const_iterator it;
! for (it = propertyNames.begin(); it != propertyNames.end(); it++) {
std::string propertyName = *it;
const boost::any propertyValue = object.propertyValue(propertyName);
--- 109,113 ----
const std::vector < std::string > propertyNames = object.propertyNames();
std::vector < std::string >::const_iterator it;
! for (it = propertyNames.begin(); it != propertyNames.end(); ++it) {
std::string propertyName = *it;
const boost::any propertyValue = object.propertyValue(propertyName);
|