Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6467f58 authored by Henri Chataing's avatar Henri Chataing Committed by Android (Google) Code Review
Browse files

Merge "Replace use of deprecated aligned_storage_t" into main

parents 0d4e2451 9eb1eb17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ class StaticVector final : details::ArrayTraits<T>,
  }

  size_type size_ = 0;
  std::aligned_storage_t<sizeof(value_type), alignof(value_type)> data_[N];
  struct { alignas(value_type) std::byte data[sizeof(value_type)]; } data_[N];
};

// Deduction guide for array constructor.