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

Commit afa3bd92 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Prefer `= delete` in place of DISALLOW_COPY_AND_ASSIGN." am: 73c4e18d...

Merge "Prefer `= delete` in place of DISALLOW_COPY_AND_ASSIGN." am: 73c4e18d am: f2889990 am: e86ab75f am: 944a9486

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1407407

Change-Id: Ia2cef8a44dee5258980cc4dc2392ae97674d2d66
parents 6e8cb0d9 944a9486
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -260,7 +260,8 @@ TEST(ResultTests, CascadeError) {

struct NoCopyContainer {
  uint32_t value;  // NOLINT(misc-non-private-member-variables-in-classes)
  DISALLOW_COPY_AND_ASSIGN(NoCopyContainer);
  NoCopyContainer(const NoCopyContainer&) = delete;
  NoCopyContainer& operator=(const NoCopyContainer&) = delete;
};

Result<std::unique_ptr<NoCopyContainer>> CreateNoCopyContainer(bool succeed) {