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

Commit 9eb1eb17 authored by Henri Chataing's avatar Henri Chataing
Browse files

Replace use of deprecated aligned_storage_t

Test: TreeHugger
Change-Id: Ibdb61a9c513a8cc4f87a8d48cf7dc65d4f2b2019
parent e216fbea
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.