diff --git a/toolchain/parse/tree_and_subtrees.h b/toolchain/parse/tree_and_subtrees.h index 3f75e42bf3b1..c3679f514775 100644 --- a/toolchain/parse/tree_and_subtrees.h +++ b/toolchain/parse/tree_and_subtrees.h @@ -224,7 +224,7 @@ class TreeAndSubtrees::SiblingIterator using iterator_facade_base::operator++; auto operator++() -> SiblingIterator& { - node_.index -= std::abs(tree_->subtree_sizes_[node_.index]); + node_.index -= tree_->subtree_sizes_[node_.index]; return *this; }