diff --git a/flow/IndexedSet.h b/flow/IndexedSet.h index fcad834974..f9f6c67da9 100644 --- a/flow/IndexedSet.h +++ b/flow/IndexedSet.h @@ -319,7 +319,7 @@ private: } template - static void _moveIterator(std::conditional_t*& node) { + static void moveIteratorImpl(std::conditional_t*& node) { if (node->child[0 ^ direction]) { node = node->child[0 ^ direction]; while (node->child[1 ^ direction]) node = node->child[1 ^ direction]; @@ -332,11 +332,11 @@ private: // direction 0 = left, 1 = right template static void moveIterator(Node const*& node) { - _moveIterator(node); + moveIteratorImpl(node); } template static void moveIterator(Node*& node) { - _moveIterator(node); + moveIteratorImpl(node); } public: // but testonly