Revision: 7255 http://playerstage.svn.sourceforge.net/playerstage/?rev=7255&view=rev Author: thjc Date: 2009-01-08 18:11:57 +0000 (Thu, 08 Jan 2009)
Log Message: ----------- Applied 2221715 to trunk: mica2 compatibility patch Modified Paths: -------------- code/player/trunk/server/drivers/wsn/mica2.cc Modified: code/player/trunk/server/drivers/wsn/mica2.cc =================================================================== --- code/player/trunk/server/drivers/wsn/mica2.cc 2009-01-07 18:45:27 UTC (rev 7254) +++ code/player/trunk/server/drivers/wsn/mica2.cc 2009-01-08 18:11:57 UTC (rev 7255) @@ -919,11 +919,9 @@ { NodeCalibrationValues n; - unsigned int i = 0; - - for (i = 0; i < ncv.size (); i++) + for (NCV::iterator it = ncv.begin(); it != ncv.end(); it++) { - n = ncv.at (i); + n = *it; if (n.node_id == nodeID) break; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit