diff --git a/tests/ut/ge/graph/partition/dynamic_shape_partition_unittest.cc b/tests/ut/ge/graph/partition/dynamic_shape_partition_unittest.cc index bc4bb102..c7c983b5 100644 --- a/tests/ut/ge/graph/partition/dynamic_shape_partition_unittest.cc +++ b/tests/ut/ge/graph/partition/dynamic_shape_partition_unittest.cc @@ -77,9 +77,8 @@ class UtestDynamicShapePartition : public testing::Test { void TearDown() {} }; -// test Init_EndGraphTaskInfo_failed TEST_F(UtestDynamicShapePartition, single_op_scene_success) { - ComputeGraphPtr graph = shared_ptr("default"); + ComputeGraphPtr graph = std::make_shared("default"); NodePtr node1 = NodeBuilder("node1", CONSTANTOP).AddInputDesc({1, 1, 224, 224}).AddOutputDesc({1, 1, 224, 224}).Build(graph);