Qualify lower_bound with std:: to allow regex to work with Sun CC

[SVN r53088]
This commit is contained in:
Steven Watanabe
2009-05-18 15:42:04 +00:00
parent aa16fa7fa1
commit d279b2c0a1

View File

@ -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;