diff options
Diffstat (limited to 'libdexfile/dex/dex_file-inl.h')
-rw-r--r-- | libdexfile/dex/dex_file-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdexfile/dex/dex_file-inl.h b/libdexfile/dex/dex_file-inl.h index 9291f6ee9e..b01b004e5b 100644 --- a/libdexfile/dex/dex_file-inl.h +++ b/libdexfile/dex/dex_file-inl.h @@ -427,8 +427,8 @@ bool DexFile::DecodeDebugLocalInfo(uint32_t registers_size, template<typename DexDebugNewPosition, typename IndexToStringData> bool DexFile::DecodeDebugPositionInfo(const uint8_t* stream, - const IndexToStringData& index_to_string_data, - const DexDebugNewPosition& position_functor) { + IndexToStringData&& index_to_string_data, + DexDebugNewPosition&& position_functor) { if (stream == nullptr) { return false; } @@ -514,7 +514,7 @@ inline IterationRange<ClassIterator> DexFile::GetClasses() const { // Returns the line number template <typename Visitor> inline uint32_t DexFile::DecodeDebugInfoParameterNames(const uint8_t** debug_info, - const Visitor& visitor) { + Visitor&& visitor) { uint32_t line = DecodeUnsignedLeb128(debug_info); const uint32_t parameters_size = DecodeUnsignedLeb128(debug_info); for (uint32_t i = 0; i < parameters_size; ++i) { |