Switch to using make_shared in another place
This commit is contained in:
parent
908de37e7c
commit
51d445007f
|
@ -352,7 +352,7 @@ const CN_CONNECTIVITY_ALGO::CLUSTERS CN_CONNECTIVITY_ALGO::SearchClusters( CLUST
|
||||||
|
|
||||||
while( !item_set.empty() )
|
while( !item_set.empty() )
|
||||||
{
|
{
|
||||||
CN_CLUSTER_PTR cluster ( new CN_CLUSTER() );
|
CN_CLUSTER_PTR cluster = std::make_shared<CN_CLUSTER>();
|
||||||
CN_ITEM* root;
|
CN_ITEM* root;
|
||||||
auto it = item_set.begin();
|
auto it = item_set.begin();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue