add std:: prefix to some finds

This commit is contained in:
mes5k 2005-02-03 16:08:18 +00:00
parent c2004dd60c
commit ff6ad98c1e
2 changed files with 3 additions and 2 deletions

View File

@ -123,7 +123,7 @@ ValuesConstraint<T>::ValuesConstraint(std::vector<T>& allowed)
template<class T>
bool ValuesConstraint<T>::check( const T& val ) const
{
if ( find(_allowed.begin(),_allowed.end(),val) == _allowed.end() )
if ( std::find(_allowed.begin(),_allowed.end(),val) == _allowed.end() )
return false;
else
return true;

View File

@ -103,7 +103,8 @@ inline int XorHandler::check( const Arg* a )
for ( int i = 0; (unsigned int)i < _orList.size(); i++ )
{
// if the XOR list contains the arg..
ArgVectorIterator ait = find( _orList[i].begin(), _orList[i].end(), a );
ArgVectorIterator ait = std::find( _orList[i].begin(),
_orList[i].end(), a );
if ( ait != _orList[i].end() )
{
// go through and set each arg that is not a