aboutsummaryrefslogtreecommitdiff
path: root/absl/container/internal/layout.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/layout.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/layout.h')
-rw-r--r--absl/container/internal/layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/layout.h b/absl/container/internal/layout.h
index a4ba6101..1bf739cc 100644
--- a/absl/container/internal/layout.h
+++ b/absl/container/internal/layout.h
@@ -706,7 +706,7 @@ class Layout : public internal_layout::LayoutType<sizeof...(Ts), Ts...> {
template <class... Sizes>
static constexpr PartialType<sizeof...(Sizes)> Partial(Sizes&&... sizes) {
static_assert(sizeof...(Sizes) <= sizeof...(Ts), "");
- return PartialType<sizeof...(Sizes)>(absl::forward<Sizes>(sizes)...);
+ return PartialType<sizeof...(Sizes)>(std::forward<Sizes>(sizes)...);
}
// Creates a layout with the sizes of all arrays specified. If you know