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

Commit 99d31722 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

gdx_unittest: Properly align array dimensions am: 66746818

parents 0c4116f9 66746818
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -895,7 +895,8 @@ class BtPropertyMultiAllocationTest : public testing::Test {
  void TearDown() override {}

  std::vector<std::future<std::vector<std::shared_ptr<BtProperty>>>> future_vector;
  bt_property_t bt_properties[kNumberTestedProperties][kNumThreads] = {};

  bt_property_t bt_properties[kNumThreads][kNumberTestedProperties] = {};

  std::vector<std::shared_ptr<BtProperty>> properties;
};
@@ -904,7 +905,7 @@ TEST_F(BtPropertyMultiAllocationTest, async_data_multi) {
  for (size_t i = 0; i < kNumThreads; i++) {
    future_vector.push_back(std::async(std::launch::async, [i]() {
      std::vector<std::shared_ptr<BtProperty>> properties;
      properties.push_back(RemoteDeviceTimestamp::Create((uint32_t)i));
      properties.emplace_back(RemoteDeviceTimestamp::Create((uint32_t)i));
      return properties;
    }));
  }