summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Evan Brown <ezb@google.com>2023-08-15 11:05:00 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-08-15 11:05:43 -0700
commit334aca32051ef6ede2711487acf45d959e9bdffc (patch)
treeeccec56d5657d36773754ae6847ad84030b63ce4 /absl
parent79f3dec06eb5adcc151a68947803f055e1679666 (diff)
Update an old comment that refers to obsolete types.
PiperOrigin-RevId: 557187112 Change-Id: I7c3e4be0ab5a7451173da7a0ded53a3d227bb093
Diffstat (limited to 'absl')
-rw-r--r--absl/container/internal/raw_hash_set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/container/internal/raw_hash_set.h b/absl/container/internal/raw_hash_set.h
index fb91fc3c..678ed7ea 100644
--- a/absl/container/internal/raw_hash_set.h
+++ b/absl/container/internal/raw_hash_set.h
@@ -1906,8 +1906,8 @@ class raw_hash_set {
std::swap(common(), that.common());
} else {
reserve(that.size());
- // Note: this will copy elements of dense_set and unordered_set instead of
- // moving them. This can be fixed if it ever becomes an issue.
+ // Note: this will copy keys instead of moving them. This can be fixed if
+ // it ever becomes an issue.
for (auto& elem : that) insert(std::move(elem));
}
}