MCPcopy Create free account
hub / github.com/davisking/dlib / delete_nodes

Method delete_nodes

dlib/sequence/sequence_kernel_1.h:1324–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1322 typename mem_manager
1323 >
1324 void sequence_kernel_1<T,mem_manager>::
1325 delete_nodes (
1326 node* t
1327 )
1328 {
1329 if (t->left)
1330 delete_nodes(t->left);
1331 if (t->right)
1332 delete_nodes(t->right);
1333 pool.deallocate(t);
1334 }
1335
1336// ----------------------------------------------------------------------------------------
1337}

Callers

nothing calls this directly

Calls 1

deallocateMethod · 0.45

Tested by

no test coverage detected