summaryrefslogtreecommitdiff
path: root/absl/strings/internal/cord_rep_test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/strings/internal/cord_rep_test_util.h')
-rw-r--r--absl/strings/internal/cord_rep_test_util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/absl/strings/internal/cord_rep_test_util.h b/absl/strings/internal/cord_rep_test_util.h
index 692d7db5..18a0a195 100644
--- a/absl/strings/internal/cord_rep_test_util.h
+++ b/absl/strings/internal/cord_rep_test_util.h
@@ -114,9 +114,6 @@ inline void CordVisitReps(cord_internal::CordRep* rep, Fn&& fn) {
for (cord_internal::CordRep* edge : rep->btree()->Edges()) {
CordVisitReps(edge, fn);
}
- } else if (rep->IsConcat()) {
- CordVisitReps(rep->concat()->left, fn);
- CordVisitReps(rep->concat()->right, fn);
}
}