X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FInformationManager.cxx;fp=src%2Fcore%2FInformationManager.cxx;h=500f79f1406f661c2a4ac53747fa053898ff0db6;hp=4a48bae3c7070b12f0dbcd7551d28f9e88081fd0;hb=f9d8bd4a0312a92a1ec3493e83996c0a99d8d1bf;hpb=edf204645cccc7dfd4b2558f0fe6ab17675e6e2d diff --git a/src/core/InformationManager.cxx b/src/core/InformationManager.cxx index 4a48bae..500f79f 100644 --- a/src/core/InformationManager.cxx +++ b/src/core/InformationManager.cxx @@ -4,7 +4,6 @@ #include "core/Function.hxx" #include "core/BasicBlock.hxx" #include "core/Comment.hxx" -#include "core/events/NewFunctionEvent.hxx" #include "core/events/ChangeCommentEvent.hxx" #include "qt.hxx" @@ -272,7 +271,7 @@ void InformationManager::finishFunction(Function* fun) { blocks.insert(std::make_pair(bl->getStartAddress(), bl)); } NewFunctionEvent event(fun->getStartAddress(), fun); - emit newFunctionEvent(&event); + emit newFunctionEvent(event); } void InformationManager::finishBasicBlock(BasicBlock*) {