forked from boostorg/regex
Qualify lower_bound with std:: to allow regex to work with Sun CC
[SVN r53088]
This commit is contained in:
@ -104,7 +104,7 @@ public:
|
|||||||
int get_id(const charT* i, const charT* j)
|
int get_id(const charT* i, const charT* j)
|
||||||
{
|
{
|
||||||
name t(i, j, 0);
|
name t(i, j, 0);
|
||||||
typename std::vector<name>::const_iterator pos = lower_bound(m_sub_names.begin(), m_sub_names.end(), t);
|
typename std::vector<name>::const_iterator pos = std::lower_bound(m_sub_names.begin(), m_sub_names.end(), t);
|
||||||
if((pos != m_sub_names.end()) && (*pos == t))
|
if((pos != m_sub_names.end()) && (*pos == t))
|
||||||
{
|
{
|
||||||
return pos->index;
|
return pos->index;
|
||||||
|
Reference in New Issue
Block a user