summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2018-10-27 00:53:58 -0700
committer Yi Kong <yikong@google.com> 2018-10-28 06:52:04 +0000
commit6ea9b92f23a58a00f1ece8d85e6eb369bc27a721 (patch)
treebb013d009f5708b7cbbd38d20a31a7e45cf02174
parentce2a00daa92670a4fc01ef59fdbc3769a846f69c (diff)
Fix defaulted-function-deleted warning
Explicitly defaulted move constructor is implicitly deleted. Test: m checkbuild Bug: 111759196 Change-Id: I45e0af221fd4c598478353d1a5b0abdd73b2bd16
-rw-r--r--libdexfile/dex/dex_instruction_iterator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdexfile/dex/dex_instruction_iterator.h b/libdexfile/dex/dex_instruction_iterator.h
index b75a95bf5c..6c7f42a925 100644
--- a/libdexfile/dex/dex_instruction_iterator.h
+++ b/libdexfile/dex/dex_instruction_iterator.h
@@ -63,7 +63,6 @@ class DexInstructionIteratorBase : public
using value_type = std::iterator<std::forward_iterator_tag, DexInstructionPcPair>::value_type;
using difference_type = std::iterator<std::forward_iterator_tag, value_type>::difference_type;
- DexInstructionIteratorBase() = default;
explicit DexInstructionIteratorBase(const Instruction* inst, uint32_t dex_pc)
: data_(reinterpret_cast<const uint16_t*>(inst), dex_pc) {}