Index: courgette/disassembler_elf_32_x86.cc |
diff --git a/courgette/disassembler_elf_32_x86.cc b/courgette/disassembler_elf_32_x86.cc |
index f73371c2cef276ecc0cc8f8b04314c58f526f5d3..67aa5c3505f8ea3d250893b3a80dc100211be52a 100644 |
--- a/courgette/disassembler_elf_32_x86.cc |
+++ b/courgette/disassembler_elf_32_x86.cc |
@@ -5,6 +5,7 @@ |
#include "courgette/disassembler_elf_32_x86.h" |
#include <memory> |
+#include <utility> |
#include <vector> |
#include "base/logging.h" |
@@ -185,7 +186,7 @@ CheckBool DisassemblerElf32X86::ParseRel32RelocsFromSection( |
RVA target_rva = typed_rel32_rva->rva() + |
typed_rel32_rva->relative_target(); |
if (IsValidTargetRVA(target_rva)) { |
- rel32_locations_.push_back(typed_rel32_rva.release()); |
+ rel32_locations_.push_back(std::move(typed_rel32_rva)); |
#if COURGETTE_HISTOGRAM_TARGETS |
++rel32_target_rvas_[target_rva]; |
#endif |