summaryrefslogtreecommitdiff
path: root/absl/container/internal/compressed_tuple_test.cc
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2024-03-11 09:14:45 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-03-11 09:15:47 -0700
commitd802708117c6ef6b9783efe499b2a2d0d0536c77 (patch)
tree240281ffedc3331fcb0203f32c11e1f28961574e /absl/container/internal/compressed_tuple_test.cc
parentb97e7f353ba787c9ecfdc0db874ccffe0b11058c (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/container/internal/compressed_tuple_test.cc')
-rw-r--r--absl/container/internal/compressed_tuple_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/container/internal/compressed_tuple_test.cc b/absl/container/internal/compressed_tuple_test.cc
index da07baab..49818fb8 100644
--- a/absl/container/internal/compressed_tuple_test.cc
+++ b/absl/container/internal/compressed_tuple_test.cc
@@ -16,6 +16,7 @@
#include <memory>
#include <string>
+#include <utility>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
@@ -384,8 +385,8 @@ TEST(CompressedTupleTest, Constexpr) {
#if defined(__clang__)
// An apparent bug in earlier versions of gcc claims these are ambiguous.
- constexpr int x2m = absl::move(x.get<2>()).get<0>();
- constexpr CallType x3m = absl::move(x).get<3>().value();
+ constexpr int x2m = std::move(x.get<2>()).get<0>();
+ constexpr CallType x3m = std::move(x).get<3>().value();
EXPECT_EQ(x2m, 5);
EXPECT_EQ(x3m, CallType::kConstMove);
#endif