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

◆ release()

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

Definition at line 183 of file weak_ptr.h.

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

References control_block_.

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

+ Here is the caller graph for this function: