summaryrefslogtreecommitdiffstats
path: root/src/oat_file.cc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-01-13 19:39:16 -0800
committerElliott Hughes <enh@google.com>2012-01-13 19:39:16 -0800
commitaa6a588eb83288481389aa08b03105346a87e706 (patch)
treed10d2b17bf1d5c15749bd1d05695e23eb9e3a50b /src/oat_file.cc
parent6b3557571e798b60df995f978fa01c0ca1980dfd (diff)
downloadart-aa6a588eb83288481389aa08b03105346a87e706.zip
art-aa6a588eb83288481389aa08b03105346a87e706.tar.gz
art-aa6a588eb83288481389aa08b03105346a87e706.tar.bz2
Make CHECKs with char*s do what you mean.
char*s are pointers in CHECKs, not 1970s-style strings. Also fix an unnecessary std::string copy and remove two unused #includes. Change-Id: I0045878f86e15c4f1d0fd4f61953334e826eb75c
Diffstat (limited to 'src/oat_file.cc')
-rw-r--r--src/oat_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oat_file.cc b/src/oat_file.cc
index 646f1c5..a4bbc5f 100644
--- a/src/oat_file.cc
+++ b/src/oat_file.cc
@@ -163,7 +163,7 @@ std::vector<const OatFile::OatDexFile*> OatFile::GetOatDexFiles() const {
}
OatFile::OatDexFile::OatDexFile(const OatFile* oat_file,
- std::string dex_file_location,
+ const std::string& dex_file_location,
uint32_t dex_file_checksum,
byte* dex_file_pointer,
const uint32_t* oat_class_offsets_pointer)