summaryrefslogtreecommitdiffstats
path: root/profman
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-06-20 21:49:11 +0000
committerAndreas Gampe <agampe@google.com>2018-06-20 21:49:11 +0000
commit6856214f2c849600bcb94cc6e84975ba8cb69920 (patch)
treea103f54ec49fac8d5cd15661f5c2d0cb5dab32e5 /profman
parent89de444350fdbd7df4fb4d95bb71f00e6673b466 (diff)
downloadart-6856214f2c849600bcb94cc6e84975ba8cb69920.tar.gz
art-6856214f2c849600bcb94cc6e84975ba8cb69920.tar.bz2
art-6856214f2c849600bcb94cc6e84975ba8cb69920.zip
Revert "ART: Fix some performance-X tidy"
This reverts commit 89de444350fdbd7df4fb4d95bb71f00e6673b466. Reason for revert: Seemingly breaks imgdiag_test on device. Change-Id: I46084ecb4205575381aafffd90a0f1a1126e8d2d Test: mmma art
Diffstat (limited to 'profman')
-rw-r--r--profman/profman.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/profman/profman.cc b/profman/profman.cc
index 9b470973c6..5fbce66412 100644
--- a/profman/profman.cc
+++ b/profman/profman.cc
@@ -389,7 +389,7 @@ class ProfMan FINAL {
}
bool OpenApkFilesFromLocations(
- const std::function<void(std::unique_ptr<const DexFile>&&)>& process_fn) {
+ std::function<void(std::unique_ptr<const DexFile>&&)> process_fn) {
bool use_apk_fd_list = !apks_fd_.empty();
if (use_apk_fd_list) {
// Get the APKs from the collection of FDs.