From 5b09e9f5ffdb84f7ae2d0611bb01849b61e44441 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Mon, 4 Feb 2019 22:16:13 -0500 Subject: [PATCH] added factory method --- include/inc-cfg/domgraph.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/inc-cfg/domgraph.hpp b/include/inc-cfg/domgraph.hpp index 65ccef5..2ba8479 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 -- GitLab