Switch to using make_shared in another place

This commit is contained in:
Ian McInerney 2021-03-03 02:19:46 +00:00
parent 908de37e7c
commit 51d445007f
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ const CN_CONNECTIVITY_ALGO::CLUSTERS CN_CONNECTIVITY_ALGO::SearchClusters( CLUST
while( !item_set.empty() )
{
CN_CLUSTER_PTR cluster ( new CN_CLUSTER() );
CN_CLUSTER_PTR cluster = std::make_shared<CN_CLUSTER>();
CN_ITEM* root;
auto it = item_set.begin();