summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler/utils/test_dex_file_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/test_dex_file_builder.h b/compiler/utils/test_dex_file_builder.h
index b1d7b4ccf3..b6a228c13c 100644
--- a/compiler/utils/test_dex_file_builder.h
+++ b/compiler/utils/test_dex_file_builder.h
@@ -216,7 +216,7 @@ class TestDexFileBuilder {
std::unique_ptr<const DexFile> dex_file(DexFile::Open(
&dex_file_data_[0], dex_file_data_.size(), dex_location, 0u, nullptr, &error_msg));
CHECK(dex_file != nullptr) << error_msg;
- return std::move(dex_file);
+ return dex_file;
}
uint32_t GetStringIdx(const std::string& type) {