1
0
Fork 0

Irix/MipsPro compiler fixes

This commit is contained in:
ehofman 2003-06-09 08:44:59 +00:00
parent de16c7d222
commit 414b4ada11

View file

@ -27,6 +27,8 @@
#include "environment_ctrl.hxx" #include "environment_ctrl.hxx"
SG_USING_STD(sort);
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
@ -168,9 +170,10 @@ FGInterpolateEnvironmentCtrl::FGInterpolateEnvironmentCtrl ()
FGInterpolateEnvironmentCtrl::~FGInterpolateEnvironmentCtrl () FGInterpolateEnvironmentCtrl::~FGInterpolateEnvironmentCtrl ()
{ {
for (int i = 0; i < _boundary_table.size(); i++) int i;
for (i = 0; i < _boundary_table.size(); i++)
delete _boundary_table[i]; delete _boundary_table[i];
for (int i = 0; i < _aloft_table.size(); i++) for (i = 0; i < _aloft_table.size(); i++)
delete _aloft_table[i]; delete _aloft_table[i];
} }
@ -188,9 +191,10 @@ FGInterpolateEnvironmentCtrl::init ()
void void
FGInterpolateEnvironmentCtrl::reinit () FGInterpolateEnvironmentCtrl::reinit ()
{ {
for (int i = 0; i < _boundary_table.size(); i++) int i;
for (i = 0; i < _boundary_table.size(); i++)
delete _boundary_table[i]; delete _boundary_table[i];
for (int i = 0; i < _aloft_table.size(); i++) for (i = 0; i < _aloft_table.size(); i++)
delete _aloft_table[i]; delete _aloft_table[i];
_boundary_table.clear(); _boundary_table.clear();
_aloft_table.clear(); _aloft_table.clear();