FastLED 3.9.15
Loading...
Searching...
No Matches

◆ destroy_node()

template<typename T>
void fl::list< T >::destroy_node ( Node * node)
inlineprivate

Definition at line 62 of file list.h.

62 {
63 if (node && node != mHead) {
64 node->~Node();
65 mResource->deallocate(node, sizeof(Node));
66 }
67 }
memory_resource * mResource
Definition list.h:34
Node * mHead
Definition list.h:32
A doubly-linked list container.
Definition list.h:21

References mHead, and mResource.

Referenced by erase().

+ Here is the caller graph for this function: