summaryrefslogtreecommitdiff
path: root/libdexfile/dex/dex_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdexfile/dex/dex_file.h')
-rw-r--r--libdexfile/dex/dex_file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdexfile/dex/dex_file.h b/libdexfile/dex/dex_file.h
index a7d288120d..8bcf1d803a 100644
--- a/libdexfile/dex/dex_file.h
+++ b/libdexfile/dex/dex_file.h
@@ -787,8 +787,8 @@ class DexFile {
// Returns false if there is no debugging information or if it cannot be decoded.
template<typename DexDebugNewPosition, typename IndexToStringData>
static bool DecodeDebugPositionInfo(const uint8_t* stream,
- const IndexToStringData& index_to_string_data,
- const DexDebugNewPosition& position_functor);
+ IndexToStringData&& index_to_string_data,
+ DexDebugNewPosition&& position_functor);
const char* GetSourceFile(const dex::ClassDef& class_def) const {
if (!class_def.source_file_idx_.IsValid()) {
@@ -893,7 +893,7 @@ class DexFile {
template <typename Visitor>
static uint32_t DecodeDebugInfoParameterNames(const uint8_t** debug_info,
- const Visitor& visitor);
+ Visitor&& visitor);
static inline bool StringEquals(const DexFile* df1, dex::StringIndex sidx1,
const DexFile* df2, dex::StringIndex sidx2);