From d07c5bc14edbe071ee7b4f47f174780e95e451aa Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 15 Nov 2020 13:55:18 +0100 Subject: Simplify Asm construction --- tests/test-flowgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test-flowgraph.cpp b/tests/test-flowgraph.cpp index 021d6dd..469d816 100644 --- a/tests/test-flowgraph.cpp +++ b/tests/test-flowgraph.cpp @@ -51,7 +51,7 @@ TEST_F(FlowGraphTest, build_graph) { std::shared_ptr free1{ std::make_shared(pointer) }; graph.push_back(free1); - std::shared_ptr destroyScope{std::make_shared()}; + std::shared_ptr destroyScope{std::make_shared(createScope->scope())}; graph.push_back(destroyScope); } -- cgit v1.2.3