aboutsummaryrefslogtreecommitdiff
path: root/absl/container/internal/btree.h
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2024-03-11 09:14:45 -0700
committerCopybara-Service <copybara-worker@google.com>2024-03-11 09:15:47 -0700
commitd802708117c6ef6b9783efe499b2a2d0d0536c77 (patch)
tree240281ffedc3331fcb0203f32c11e1f28961574e /absl/container/internal/btree.h
parentb97e7f353ba787c9ecfdc0db874ccffe0b11058c (diff)
downloadabseil-d802708117c6ef6b9783efe499b2a2d0d0536c77.tar.gz
abseil-d802708117c6ef6b9783efe499b2a2d0d0536c77.tar.bz2
abseil-d802708117c6ef6b9783efe499b2a2d0d0536c77.zip
Replace usages of absl::move, absl::forward, and absl::exchange with their
std:: equivalents PiperOrigin-RevId: 614687225 Change-Id: I07421db08ee9c221e561f42e3bf8345fb5321401
Diffstat (limited to 'absl/container/internal/btree.h')
-rw-r--r--absl/container/internal/btree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/container/internal/btree.h b/absl/container/internal/btree.h
index 91df57a3..fd7860da 100644
--- a/absl/container/internal/btree.h
+++ b/absl/container/internal/btree.h
@@ -1407,9 +1407,9 @@ class btree {
copy_or_move_values_in_order(other);
}
btree(btree &&other) noexcept
- : root_(absl::exchange(other.root_, EmptyNode())),
+ : root_(std::exchange(other.root_, EmptyNode())),
rightmost_(std::move(other.rightmost_)),
- size_(absl::exchange(other.size_, 0u)) {
+ size_(std::exchange(other.size_, 0u)) {
other.mutable_rightmost() = EmptyNode();
}
btree(btree &&other, const allocator_type &alloc)