fix vc7 warnings

This commit is contained in:
Chris Danford
2005-05-16 19:45:03 +00:00
parent 9de6862130
commit 0ad77eb5cc
2 changed files with 14 additions and 20 deletions
@@ -107,12 +107,6 @@ static void MoveData( int &sel, int &opt, bool ToSel )
else opt = !!sel;
}
static void MoveData( int &sel, bool &opt, bool ToSel )
{
if( ToSel ) sel = opt;
else opt = !!sel;
}
template<class T>
static void MoveData( int &sel, Preference<T> &opt, bool ToSel )
{