diff --git a/include/boost/regex/v4/basic_regex.hpp b/include/boost/regex/v4/basic_regex.hpp index aed79528..4a396a0e 100644 --- a/include/boost/regex/v4/basic_regex.hpp +++ b/include/boost/regex/v4/basic_regex.hpp @@ -104,7 +104,7 @@ public: int get_id(const charT* i, const charT* j) { name t(i, j, 0); - typename std::vector::const_iterator pos = lower_bound(m_sub_names.begin(), m_sub_names.end(), t); + typename std::vector::const_iterator pos = std::lower_bound(m_sub_names.begin(), m_sub_names.end(), t); if((pos != m_sub_names.end()) && (*pos == t)) { return pos->index;