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

◆ release()

template<typename T>
void fl::weak_ptr< T >::release ( )
inlineprivate

Definition at line 184 of file weak_ptr.h.

184 {
185 if (mControlBlock) {
186 if (--mControlBlock->weak_count == 0 && mControlBlock->shared_count == 0) {
187 mControlBlock->destroy_control_block();
188 }
189 }
190 }
detail::ControlBlockBase * mControlBlock
Definition weak_ptr.h:14

References FL_NOEXCEPT, and mControlBlock.

Referenced by ~weak_ptr(), operator=(), operator=(), operator=(), operator=(), operator=(), and reset().

+ Here is the caller graph for this function: