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

Commit e426e760 authored by Ryan Mitchell's avatar Ryan Mitchell Committed by Automerger Merge Worker
Browse files

Fix bugprone-use-after-move warnings am: e35e87f5

Change-Id: I5513b0042b2a5db08b28f70a2f8d0b13d7037de9
parents 18d6b1d2 e35e87f5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -77,7 +77,8 @@ std::unique_ptr<const ApkAssets> ApkAssets::LoadOverlay(const std::string& idmap
    return {};
  }

  return LoadImpl({} /*fd*/, loaded_idmap->OverlayApkPath(),
  auto apkPath = loaded_idmap->OverlayApkPath();
  return LoadImpl({} /*fd*/, apkPath,
                  std::move(idmap_asset),
                  std::move(loaded_idmap),
                  PROPERTY_OVERLAY | (system ? PROPERTY_SYSTEM : 0U));