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

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

Fix bugprone-use-after-move warnings am: e35e87f5 am: e426e760 am: 7c319788

Change-Id: I295c225356723e260618169ee534f494aec9df30
parents 2a95915c 7c319788
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));