diff --git a/include/inc-cfg/domgraph.hpp b/include/inc-cfg/domgraph.hpp index 65ccef57aa6e7ed2f5343251c673f0a52596693d..2ba8479cd3af2789f226080f765610fe18500337 100644 --- a/include/inc-cfg/domgraph.hpp +++ b/include/inc-cfg/domgraph.hpp @@ -13,7 +13,7 @@ namespace IRDB_SDK DominatorGraph_t(){} DominatorGraph_t(const DominatorGraph_t& copy)=delete; public: - unique_ptr<DominatorGraph_t*> factory( + static unique_ptr<DominatorGraph_t> factory( const ControlFlowGraph_t* p_cfg, bool needs_postdoms=false, bool needs_idoms=false