From 8efcd6325cf362a4199cf18407456010774e34f2 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 24 Nov 2020 17:27:05 +0000 Subject: [PATCH] Adjust to MapInfo to new api. Change-Id: Ic3818a8b001657e6b54ba6fcbf68f8c1d7ef2683 --- debuggerd/libdebuggerd/test/UnwinderMock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuggerd/libdebuggerd/test/UnwinderMock.h b/debuggerd/libdebuggerd/test/UnwinderMock.h index 023a57807..44a9214e5 100644 --- a/debuggerd/libdebuggerd/test/UnwinderMock.h +++ b/debuggerd/libdebuggerd/test/UnwinderMock.h @@ -34,7 +34,7 @@ class UnwinderMock : public unwindstack::Unwinder { unwindstack::MapInfo* map_info = GetMaps()->Find(offset); if (map_info != nullptr) { std::string* new_build_id = new std::string(build_id); - map_info->build_id = reinterpret_cast(new_build_id); + map_info->build_id = new_build_id; } } };