summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdexfile/dex/dex_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdexfile/dex/dex_file.h b/libdexfile/dex/dex_file.h
index 619ee0d4f5..7cf0b7f62c 100644
--- a/libdexfile/dex/dex_file.h
+++ b/libdexfile/dex/dex_file.h
@@ -591,7 +591,7 @@ class DexFile {
uint32_t signature_length) const;
const dex::ProtoId* FindProtoId(dex::TypeIndex return_type_idx,
const std::vector<dex::TypeIndex>& signature_type_idxs) const {
- return FindProtoId(return_type_idx, &signature_type_idxs[0], signature_type_idxs.size());
+ return FindProtoId(return_type_idx, signature_type_idxs.data(), signature_type_idxs.size());
}
// Given a signature place the type ids into the given vector, returns true on success