Update of /cvsroot/playerstage/code/player/server/drivers/shell
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19415
Modified Files:
readlog.cc
Log Message:
fixed compile error
Index: readlog.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/shell/readlog.cc,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** readlog.cc 24 Nov 2007 20:40:43 -0000 1.57
--- readlog.cc 25 Nov 2007 09:34:42 -0000 1.58
***************
*** 1532,1537 ****
data.scan.intensity_count = data.scan.ranges_count;
! data.ranges = new float[ data.ranges_count ];
! data.intensity = new uint8_t[ data.ranges_count ];
count = 0;
--- 1532,1537 ----
data.scan.intensity_count = data.scan.ranges_count;
! data.scan.ranges = new float[ data.scan.ranges_count ];
! data.scan.intensity = new uint8_t[ data.scan.ranges_count ];
count = 0;
***************
*** 1553,1558 ****
this->Publish(id, type, subtype,
(void*)&data, sizeof(data), &time);
! delete [] data.ranges;
! delete [] data.intensity;
}
return ret;
--- 1553,1558 ----
this->Publish(id, type, subtype,
(void*)&data, sizeof(data), &time);
! delete [] data.scan.ranges;
! delete [] data.scan.intensity;
}
return ret;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit