mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-10 04:41:57 -04:00
add std:: prefix to some finds
This commit is contained in:
parent
c2004dd60c
commit
ff6ad98c1e
@ -123,7 +123,7 @@ ValuesConstraint<T>::ValuesConstraint(std::vector<T>& allowed)
|
|||||||
template<class T>
|
template<class T>
|
||||||
bool ValuesConstraint<T>::check( const T& val ) const
|
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;
|
return false;
|
||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
|
@ -103,7 +103,8 @@ inline int XorHandler::check( const Arg* a )
|
|||||||
for ( int i = 0; (unsigned int)i < _orList.size(); i++ )
|
for ( int i = 0; (unsigned int)i < _orList.size(); i++ )
|
||||||
{
|
{
|
||||||
// if the XOR list contains the arg..
|
// 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() )
|
if ( ait != _orList[i].end() )
|
||||||
{
|
{
|
||||||
// go through and set each arg that is not a
|
// go through and set each arg that is not a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user