1 Jan 2003 19:47
CVS: FlightGear/src/Model modelmgr.cxx,1.3,1.4
David Megginson <david <at> seneca.me.umn.edu>
2003-01-01 18:47:53 GMT
2003-01-01 18:47:53 GMT
Update of /var/cvs/FlightGear-0.9/FlightGear/src/Model
In directory seneca:/tmp/cvs-serv11161
Modified Files:
modelmgr.cxx
Log Message:
Work around G++ 2.95 bug by removing use of STL find() function.
Index: modelmgr.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Model/modelmgr.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** modelmgr.cxx 31 Dec 2002 18:26:06 -0000 1.3
--- modelmgr.cxx 1 Jan 2003 18:47:50 -0000 1.4
***************
*** 12,17 ****
#include "model.hxx"
- SG_USING_STD(find);
-
FGModelMgr::FGModelMgr ()
--- 12,15 ----
***************
*** 136,141 ****
FGModelMgr::remove_instance (Instance * instance)
{
! _instances.erase(find(_instances.begin(), _instances.end(), instance));
(Continue reading)
RSS Feed