diff options
| -rw-r--r-- | runtime/oat.h | 1 | ||||
| -rw-r--r-- | runtime/oat_quick_method_header.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/oat.h b/runtime/oat.h index a38eebc188..6b138baf9a 100644 --- a/runtime/oat.h +++ b/runtime/oat.h @@ -175,6 +175,7 @@ class PACKED(4) OatMethodOffsets { ~OatMethodOffsets(); + OatMethodOffsets(const OatMethodOffsets&) = default; OatMethodOffsets& operator=(const OatMethodOffsets&) = default; uint32_t code_offset_; diff --git a/runtime/oat_quick_method_header.h b/runtime/oat_quick_method_header.h index f2a2af2a5f..152b0ba21b 100644 --- a/runtime/oat_quick_method_header.h +++ b/runtime/oat_quick_method_header.h @@ -54,6 +54,7 @@ class PACKED(4) OatQuickMethodHeader { return FromCodePointer(EntryPointToCodePointer(entry_point)); } + OatQuickMethodHeader(const OatQuickMethodHeader&) = default; OatQuickMethodHeader& operator=(const OatQuickMethodHeader&) = default; uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { |