summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp')
-rw-r--r--libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp b/libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp
index 51a9d8c..9367752 100644
--- a/libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp
+++ b/libunwindstack/tests/fuzz/UnwinderComponentCreator.cpp
@@ -66,7 +66,7 @@ void ElfAddMapInfo(Maps* maps, uint64_t start, uint64_t end, uint64_t offset, ui
maps->Add(start, end, offset, flags, name, static_cast<uint64_t>(-1));
if (elf != nullptr) {
const auto& map_info = *--maps->end();
- map_info->elf().reset(elf);
+ map_info->set_elf(elf);
}
}