Qualify calls to std::next(), to avoid conflicts with
libraries/applications that define their own 'next' template.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@130511 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/__tree b/include/__tree
index fddcd4a..edba15a 100644
--- a/include/__tree
+++ b/include/__tree
@@ -1609,7 +1609,7 @@
const_iterator __next = _STD::next(__hint);
if (__next == end() || value_comp()(__v, *__next))
{
- // *__hint < __v < *next(__hint)
+ // *__hint < __v < *_STD::next(__hint)
if (__hint.__ptr_->__right_ == nullptr)
{
__parent = const_cast<__node_pointer&>(__hint.__ptr_);