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

Skip to content
Commit 9e5ba59e authored by Yabin Cui's avatar Yabin Cui
Browse files

Fix no member named 'unique' in 'std::shared_ptr<>'

With clang update, we got the following error:
frameworks/av/media/module/foundation/tests/AData_test.cpp:594:25:
error: no member named 'unique' in 'std::shared_ptr<a
ndroid::DerivedCounter>'
  594 |     EXPECT_TRUE(_shared.unique()); // now only _shared contains the object
      |                 ~~~~~~~ ^

Bug: 342023558
Test: build with clang update
Change-Id: I18f4814d3c288b6e34c78b57ea54ca51e85fc272
parent a4f686d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment