diff options
author | Derek Mauro <dmauro@google.com> | 2024-03-11 09:14:45 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-11 09:15:47 -0700 |
commit | d802708117c6ef6b9783efe499b2a2d0d0536c77 (patch) | |
tree | 240281ffedc3331fcb0203f32c11e1f28961574e /absl/cleanup | |
parent | b97e7f353ba787c9ecfdc0db874ccffe0b11058c (diff) |
Replace usages of absl::move, absl::forward, and absl::exchange with their
std:: equivalents
PiperOrigin-RevId: 614687225
Change-Id: I07421db08ee9c221e561f42e3bf8345fb5321401
Diffstat (limited to 'absl/cleanup')
-rw-r--r-- | absl/cleanup/cleanup_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/cleanup/cleanup_test.cc b/absl/cleanup/cleanup_test.cc index 46b88589..72d7ff2a 100644 --- a/absl/cleanup/cleanup_test.cc +++ b/absl/cleanup/cleanup_test.cc @@ -48,7 +48,7 @@ class FunctorClass { explicit FunctorClass(Callback callback) : callback_(std::move(callback)) {} FunctorClass(FunctorClass&& other) - : callback_(absl::exchange(other.callback_, Callback())) {} + : callback_(std::exchange(other.callback_, Callback())) {} FunctorClass(const FunctorClass&) = delete; |